summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorEuan <euantorano@users.noreply.github.com>2019-09-06 13:31:39 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-09-06 14:31:39 +0200
commit0e01a5f76ccae973666a23ccab77dfcb8745b2d2 (patch)
tree832ef0741cf9f83ff3cc5955729424a8abb49c8e
parent24f52d855cf7ffc5de0ae021fa4043eb357c7e72 (diff)
downloadNim-0e01a5f76ccae973666a23ccab77dfcb8745b2d2.tar.gz
Fix #12133 - use libgc.so.4.0 for OpenBSD (#12134)
-rw-r--r--lib/system.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim
index d3fd9ddc8..ebea457dd 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1989,6 +1989,8 @@ when defined(boehmgc):
       const boehmLib = "boehmgc.dll"
   elif defined(macosx):
     const boehmLib = "libgc.dylib"
+  elif defined(openbsd):
+    const boehmLib = "libgc.so.4.0"
   else:
     const boehmLib = "libgc.so.1"
   {.pragma: boehmGC, noconv, dynlib: boehmLib.}