mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
Haiku supporting code in nim.cfg. We don't have -ldl.
This commit is contained in:
@@ -66,7 +66,7 @@ path="$lib/pure"
|
||||
@end
|
||||
|
||||
@if unix:
|
||||
@if not bsd:
|
||||
@if not bsd or haiku:
|
||||
# -fopenmp
|
||||
gcc.options.linker = "-ldl"
|
||||
gcc.cpp.options.linker = "-ldl"
|
||||
@@ -80,6 +80,14 @@ path="$lib/pure"
|
||||
# at least NetBSD has problems with thread local storage:
|
||||
tlsEmulation:on
|
||||
@end
|
||||
@if haiku:
|
||||
# -fopenmp
|
||||
gcc.options.linker = "-lroot -lnetwork"
|
||||
gcc.cpp.options.linker = "-lroot -lnetwork"
|
||||
clang.options.linker = "-lroot -lnetwork"
|
||||
clang.cpp.options.linker = "-lroot -lnetwork"
|
||||
tcc.options.linker = "-lroot -lnetwork"
|
||||
@end
|
||||
@end
|
||||
|
||||
# Configuration for the Intel C/C++ compiler:
|
||||
|
||||
Reference in New Issue
Block a user