update rpath patch
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
e70d647a6b
commit
6f3eb4c38f
|
@ -1,11 +1,10 @@
|
||||||
diff -up build/premake/premake4.lua.orig build/premake/premake4.lua
|
diff -uNr 0ad-0.0.21-alpha.orig/build/premake/premake4.lua 0ad-0.0.21-alpha/build/premake/premake4.lua
|
||||||
--- build/premake/premake4.lua.orig 2015-03-14 13:29:39.458872061 -0300
|
--- 0ad-0.0.21-alpha.orig/build/premake/premake4.lua 2016-09-18 10:54:27.000000000 +0200
|
||||||
+++ build/premake/premake4.lua 2015-03-14 13:30:04.556873022 -0300
|
+++ 0ad-0.0.21-alpha/build/premake/premake4.lua 2016-11-09 06:47:02.330099676 +0100
|
||||||
@@ -365,27 +365,6 @@ function project_set_build_flags()
|
@@ -368,26 +368,6 @@
|
||||||
if _OPTIONS["libdir"] then
|
|
||||||
defines { "INSTALLED_LIBDIR=" .. _OPTIONS["libdir"] }
|
defines { "INSTALLED_LIBDIR=" .. _OPTIONS["libdir"] }
|
||||||
end
|
end
|
||||||
-
|
|
||||||
- if os.is("linux") or os.is("bsd") then
|
- if os.is("linux") or os.is("bsd") then
|
||||||
- -- To use our local shared libraries, they need to be found in the
|
- -- To use our local shared libraries, they need to be found in the
|
||||||
- -- runtime dynamic linker path. Add their path to -rpath.
|
- -- runtime dynamic linker path. Add their path to -rpath.
|
||||||
|
@ -19,7 +18,7 @@ diff -up build/premake/premake4.lua.orig build/premake/premake4.lua
|
||||||
-
|
-
|
||||||
- -- Adding the executable path and taking care of correct escaping
|
- -- Adding the executable path and taking care of correct escaping
|
||||||
- if _ACTION == "gmake" then
|
- if _ACTION == "gmake" then
|
||||||
- linkoptions { "-Wl,-rpath,'$$ORIGIN'" }
|
- linkoptions { "-Wl,-rpath,'$$ORIGIN'" }
|
||||||
- elseif _ACTION == "codeblocks" then
|
- elseif _ACTION == "codeblocks" then
|
||||||
- linkoptions { "-Wl,-R\\\\$$$ORIGIN" }
|
- linkoptions { "-Wl,-R\\\\$$$ORIGIN" }
|
||||||
- end
|
- end
|
||||||
|
|
Loading…
Reference in New Issue