wineprefixcreate: Set correct LD_LIBRARY_PATH.
diff --git a/tools/wineprefixcreate.in b/tools/wineprefixcreate.in
index 7ac5c8c..d5d76dd 100644
--- a/tools/wineprefixcreate.in
+++ b/tools/wineprefixcreate.in
@@ -74,9 +74,9 @@
WINESERVER="$topdir/server/wineserver"
if [ -n "$LD_LIBRARY_PATH" ]
then
- LD_LIBRARY_PATH="$topdir/libs:$LD_LIBRARY_PATH"
+ LD_LIBRARY_PATH="$topdir/libs/wine:$LD_LIBRARY_PATH"
else
- LD_LIBRARY_PATH="$topdir/libs"
+ LD_LIBRARY_PATH="$topdir/libs/wine"
fi
export LD_LIBRARY_PATH