Skip to content

Commit

Permalink
Use libgc-threaded.so on FreeBSD rather than libgc.so.
Browse files Browse the repository at this point in the history
  • Loading branch information
euantorano committed Sep 16, 2019
1 parent c09465f commit 5e96ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
image: freebsd/latest
packages:
- databases/sqlite3
- devel/boehm-gc
- devel/boehm-gc-threaded
- devel/pcre
- devel/sdl20
Expand All @@ -27,7 +26,6 @@ tasks:
if [[ $exitcode -ne 0 ]]; then
nim c -r tools/ci_testresults.nim
fi
exit $exitcode
triggers:
- action: email
Expand Down
2 changes: 2 additions & 0 deletions lib/system.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1991,6 +1991,8 @@ when defined(boehmgc):
const boehmLib = "libgc.dylib"
elif defined(openbsd):
const boehmLib = "libgc.so.4.0"
elif defined(freebsd):
const boehmLib = "libgc-threaded.so.1"
else:
const boehmLib = "libgc.so.1"
{.pragma: boehmGC, noconv, dynlib: boehmLib.}
Expand Down

0 comments on commit 5e96ca4

Please sign in to comment.