Change clibdir and cincludes for NetBSD (#15102)

This commit is contained in:
Euan 2020-07-28 17:01:25 +01:00 • committed by GitHub
commit e4e4931432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,6 +212,14 @@ clang.objc.options.linker = "-lobjc -lgnustep-base"
clibdir: "/usr/local/lib" clibdir: "/usr/local/lib"
@end @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 # Configuration for the VxWorks
# This has been tested with VxWorks 6.9 only # This has been tested with VxWorks 6.9 only
@if vxworks: @if vxworks:
@ -350,4 +358,4 @@ tcc.options.always = "-w"
gcc.cpp.options.linker %= "${gcc.cpp.options.linker} -s" gcc.cpp.options.linker %= "${gcc.cpp.options.linker} -s"
clang.options.linker %= "${clang.options.linker} -s" clang.options.linker %= "${clang.options.linker} -s"
clang.cpp.options.linker %= "${clang.cpp.options.linker} -s" clang.cpp.options.linker %= "${clang.cpp.options.linker} -s"
@end @end