summaryrefslogtreecommitdiff
path: root/emulators/wine-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine-devel/files')
-rw-r--r--emulators/wine-devel/files/patch-configure12
-rw-r--r--emulators/wine-devel/files/wine-wow64.sh3
2 files changed, 3 insertions, 12 deletions
diff --git a/emulators/wine-devel/files/patch-configure b/emulators/wine-devel/files/patch-configure
deleted file mode 100644
index 1b505cb0fd84..000000000000
--- a/emulators/wine-devel/files/patch-configure
+++ /dev/null
@@ -1,12 +0,0 @@
---- UTC
---- configure.orig 2024-08-10 14:38:54.000000000 +0000
-+++ configure 2024-08-10 23:43:05.264405000 +0000
-@@ -10662,7 +10662,7 @@
- llvm_extra_ldflags=""
- llvm_cflags=""
- case $llvm_target in
-- *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
-+ *windows) llvm_cflags="-Wl,-subsystem:console" ;;
- esac
- { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
diff --git a/emulators/wine-devel/files/wine-wow64.sh b/emulators/wine-devel/files/wine-wow64.sh
index fd96577fb486..47d8fcc90f2c 100644
--- a/emulators/wine-devel/files/wine-wow64.sh
+++ b/emulators/wine-devel/files/wine-wow64.sh
@@ -23,6 +23,9 @@ HERE
exit 1
fi
+# Export early so that external libs could be found
+export LD_32_LIBRARY_PATH="${LD_32_LIBRARY_PATH:+$LD_32_LIBRARY_PATH:}$I386_ROOT/$LOCALBASE/lib"
+
WINE32_VERSION=$(env -u WINELOADERNOEXEC "$I386_ROOT/$PREFIX/bin/wine" --version)
WINE64_VERSION=$(env -u WINELOADERNOEXEC "${TARGET}64" --version)
if [ "$WINE32_VERSION" != "$WINE64_VERSION" ]