mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
Added support for Darwin DYLD_LIBRARY_PATH.
This commit is contained in:
parent
80444dfe51
commit
a808f38c1e
1 changed files with 17 additions and 4 deletions
|
@ -62,12 +62,25 @@ fi
|
|||
|
||||
topdir=`cd "$topdir" && pwd`
|
||||
|
||||
if [ "`uname -s`" = "Darwin" ]
|
||||
then
|
||||
if [ -n "$DYLD_LIBRARY_PATH" ]
|
||||
then
|
||||
DYLD_LIBRARY_PATH="$topdir/libs:$DYLD_LIBRARY_PATH"
|
||||
else
|
||||
DYLD_LIBRARY_PATH="$topdir/libs"
|
||||
fi
|
||||
export DYLD_LIBRARY_PATH
|
||||
else
|
||||
if [ -n "$LD_LIBRARY_PATH" ]
|
||||
then
|
||||
LD_LIBRARY_PATH="$topdir/libs:$LD_LIBRARY_PATH"
|
||||
else
|
||||
LD_LIBRARY_PATH="$topdir/libs"
|
||||
fi
|
||||
export LD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
if [ -n "$WINEDLLPATH" ]
|
||||
then
|
||||
WINEDLLPATH="$topdir/dlls:$topdir/programs:$WINEDLLPATH"
|
||||
|
@ -76,7 +89,7 @@ else
|
|||
fi
|
||||
WINESERVER="$topdir/server/wineserver"
|
||||
WINELOADER="$topdir/loader/wine"
|
||||
export LD_LIBRARY_PATH WINEDLLPATH WINESERVER WINELOADER
|
||||
export WINEDLLPATH WINESERVER WINELOADER
|
||||
|
||||
# any local settings ?
|
||||
if [ -f "$topdir/.winewrapper" ]
|
||||
|
|
Loading…
Reference in a new issue