Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a808f38c
Commit
a808f38c
authored
Nov 30, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for Darwin DYLD_LIBRARY_PATH.
parent
80444dfe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
winewrapper
tools/winewrapper
+17
-4
No files found.
tools/winewrapper
View file @
a808f38c
...
...
@@ -62,12 +62,25 @@ fi
topdir
=
`
cd
"
$topdir
"
&&
pwd
`
if
[
-n
"
$LD_LIBRARY_PATH
"
]
if
[
"
`
uname
-s
`
"
=
"Darwin
"
]
then
LD_LIBRARY_PATH
=
"
$topdir
/libs:
$LD_LIBRARY_PATH
"
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
LD_LIBRARY_PATH
=
"
$topdir
/libs"
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"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment