mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 19:52:36 +00:00
Change clibdir and cincludes for NetBSD (#15102)
This commit is contained in:
@@ -212,6 +212,14 @@ clang.objc.options.linker = "-lobjc -lgnustep-base"
|
||||
clibdir: "/usr/local/lib"
|
||||
@end
|
||||
|
||||
@if freebsd or openbsd:
|
||||
cincludes: "/usr/local/include"
|
||||
clibdir: "/usr/local/lib"
|
||||
@elif netbsd:
|
||||
cincludes: "/usr/pkg/include"
|
||||
clibdir: "/usr/pkg/lib"
|
||||
@end
|
||||
|
||||
# Configuration for the VxWorks
|
||||
# This has been tested with VxWorks 6.9 only
|
||||
@if vxworks:
|
||||
@@ -350,4 +358,4 @@ tcc.options.always = "-w"
|
||||
gcc.cpp.options.linker %= "${gcc.cpp.options.linker} -s"
|
||||
clang.options.linker %= "${clang.options.linker} -s"
|
||||
clang.cpp.options.linker %= "${clang.cpp.options.linker} -s"
|
||||
@end
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user