diff options
author | Euan <euantorano@users.noreply.github.com> | 2019-09-06 13:31:39 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-09-06 14:31:39 +0200 |
commit | 0e01a5f76ccae973666a23ccab77dfcb8745b2d2 (patch) | |
tree | 832ef0741cf9f83ff3cc5955729424a8abb49c8e | |
parent | 24f52d855cf7ffc5de0ae021fa4043eb357c7e72 (diff) | |
download | Nim-0e01a5f76ccae973666a23ccab77dfcb8745b2d2.tar.gz |
Fix #12133 - use libgc.so.4.0 for OpenBSD (#12134)
-rw-r--r-- | lib/system.nim | 2 |
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.} |