Merge pull request #4809 from cheatfate/rpath
RPATH locations for OpenBSD,NetBSD and FreeBSD.
This commit is contained in:
commit
723bc158ce
1 changed files with 11 additions and 0 deletions
|
|
@ -122,6 +122,17 @@ clang.objc.options.linker = "-lobjc -lgnustep-base"
|
||||||
clang.objc.options.linker = "-framework Foundation"
|
clang.objc.options.linker = "-framework Foundation"
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
# Options for FreeBSD, OpenBSD, NetBSD linker to add locations for searching
|
||||||
|
# shared libraries.
|
||||||
|
@if freebsd or openbsd or netbsd:
|
||||||
|
gcc.options.linker = "-Wl,-rpath=.:/usr/local/lib:/usr/pkg/lib:/usr/X11R6/lib"
|
||||||
|
gcc.cpp.options.linker = "-Wl,-rpath=.:/usr/local/lib:/usr/pkg/lib:/usr/X11R6/lib"
|
||||||
|
llvm_gcc.options.linker = "-Wl,-rpath=.:/usr/local/lib:/usr/pkg/lib:/usr/X11R6/lib"
|
||||||
|
llvm_gcc.cpp.options.linker = "-Wl,-rpath=.:/usr/local/lib:/usr/pkg/lib:/usr/X11R6/lib"
|
||||||
|
clang.options.linker = "-Wl,-rpath=.:/usr/local/lib:/usr/pkg/lib:/usr/X11R6/lib"
|
||||||
|
clang.cpp.options.linker = "-Wl,-rpath=.:/usr/local/lib:/usr/pkg/lib:/usr/X11R6/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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue