summaryrefslogtreecommitdiff
path: root/emulators/wine-devel/files/wine-wow64.sh
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine-devel/files/wine-wow64.sh')
-rw-r--r--emulators/wine-devel/files/wine-wow64.sh3
1 files changed, 3 insertions, 0 deletions
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" ]