summary refs log tree commit diff stats
path: root/tools/niminst
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-11-01 07:14:20 +0100
committerAraq <rumpf_a@web.de>2016-11-01 07:14:20 +0100
commit45c6f9bb69b9b7250ea74dfb0d8b01c260e28caf (patch)
treedebe0fe8fb2582a1705404b90c70e633831fc7f3 /tools/niminst
parentd183e4034cc53a01521d283f562c6011b3cb3433 (diff)
downloadNim-45c6f9bb69b9b7250ea74dfb0d8b01c260e28caf.tar.gz
niminst update: make csources compile on old Linuxes
Diffstat (limited to 'tools/niminst')
-rw-r--r--tools/niminst/buildsh.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/niminst/buildsh.tmpl b/tools/niminst/buildsh.tmpl
index f82fc0fee..c571f4d66 100644
--- a/tools/niminst/buildsh.tmpl
+++ b/tools/niminst/buildsh.tmpl
@@ -53,7 +53,7 @@ uos=`echo $uos | tr "[:upper:]" "[:lower:]"`
 case $uos in
   *linux* )
     myos="linux"
-    LINK_FLAGS="$LINK_FLAGS -ldl -lm"
+    LINK_FLAGS="$LINK_FLAGS -ldl -lm -lrt"
     ;;
   *dragonfly* )
     myos="freebsd"