This was SVN commit r12198.
This commit is contained in:
parent
3050cdc8c6
commit
9b79ca5179
@ -308,9 +308,9 @@ function project_set_build_flags()
|
|||||||
defines { "INSTALLED_LIBDIR=" .. _OPTIONS["libdir"] }
|
defines { "INSTALLED_LIBDIR=" .. _OPTIONS["libdir"] }
|
||||||
end
|
end
|
||||||
|
|
||||||
if (os.is("linux") or os.is("bsd")) and not _OPTIONS["with-system-mozjs185"] then
|
if os.is("linux") or os.is("bsd") then
|
||||||
-- To use our local SpiderMonkey library, it needs to be part of the
|
-- To use our local shared libraries, they need to be found in the
|
||||||
-- runtime dynamic linker path. Add it with -rpath to make sure it gets found.
|
-- runtime dynamic linker path. Add their path to -rpath.
|
||||||
if _OPTIONS["libdir"] then
|
if _OPTIONS["libdir"] then
|
||||||
linkoptions {"-Wl,-rpath," .. _OPTIONS["libdir"] }
|
linkoptions {"-Wl,-rpath," .. _OPTIONS["libdir"] }
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user