summaryrefslogtreecommitdiff
path: root/user/wine/rpath.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-07-23 02:46:59 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:02 -0500
commit369f3e155d53cd137b1a67bc45c346e3f6c38f3e (patch)
treec68cc8de543d442034bbe7113a0500df74d63395 /user/wine/rpath.patch
parent184289390da6bf880dcac40699f67182136716f8 (diff)
downloadpackages-369f3e155d53cd137b1a67bc45c346e3f6c38f3e.tar.gz
packages-369f3e155d53cd137b1a67bc45c346e3f6c38f3e.tar.bz2
packages-369f3e155d53cd137b1a67bc45c346e3f6c38f3e.tar.xz
packages-369f3e155d53cd137b1a67bc45c346e3f6c38f3e.zip
user/wine: Update to 7.0 (WIP)
Diffstat (limited to 'user/wine/rpath.patch')
-rw-r--r--user/wine/rpath.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/wine/rpath.patch b/user/wine/rpath.patch
new file mode 100644
index 000000000..9f65cf034
--- /dev/null
+++ b/user/wine/rpath.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -859,6 +859,9 @@ case $host_os in
+ AC_SUBST(LIBWINE_SHAREDLIB,"libwine.so.$libwine_version")
+ AC_SUBST(LIBWINE_DEPENDS,"wine.map")
+ TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
++
++ # do this at the end because it needs double dollar for makefile
++ WINE_TRY_CFLAGS([-Wl,-rpath,\\\$ORIGIN],[UNIXLDFLAGS="$UNIXLDFLAGS '-Wl,-rpath,\$\$ORIGIN'"])
+ ;;
+ esac