summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-05-26 12:05:27 +0200
committerAndreas Rumpf <rumpf_a@web.de>2015-05-26 12:05:27 +0200
commit45f14fd73a608b94b6c26c61d7ba4d3288ace94c (patch)
tree754f59590dcc04a007f2af8b2d6a61e8c8bc9e08
parent4013071f8163d863a5190e1654c73fc79daa8a35 (diff)
parent1001fd21665ec1662d42e6e2bdc3cc98318b7002 (diff)
downloadNim-45f14fd73a608b94b6c26c61d7ba4d3288ace94c.tar.gz
Merge pull request #2803 from avsej/fix-boehm-gc-on-linux
Fix Boehm GC on linux
-rw-r--r--lib/system/mmdisp.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim
index a378f86e7..bdbb3a95a 100644
--- a/lib/system/mmdisp.nim
+++ b/lib/system/mmdisp.nim
@@ -70,7 +70,7 @@ when defined(boehmgc):
   elif defined(macosx):
     const boehmLib = "libgc.dylib"
   else:
-    const boehmLib = "/usr/lib/libgc.so.1"
+    const boehmLib = "libgc.so.1"
 
   proc boehmGCinit {.importc: "GC_init", dynlib: boehmLib.}
   proc boehmGC_disable {.importc: "GC_disable", dynlib: boehmLib.}
@@ -335,4 +335,3 @@ else:
     include "system/gc"
 
 {.pop.}
-