mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 16:18:01 +00:00
wscript: fix RPATH usage on OSX (by @sofakng)
This commit is contained in:
parent
2823a6d269
commit
c6b6938e14
2
wscript
2
wscript
@ -350,6 +350,8 @@ def configure(conf):
|
|||||||
|
|
||||||
if conf.env.SAILFISH == 'aurora':
|
if conf.env.SAILFISH == 'aurora':
|
||||||
conf.env.DEFAULT_RPATH = '/usr/share/su.xash.Engine/lib'
|
conf.env.DEFAULT_RPATH = '/usr/share/su.xash.Engine/lib'
|
||||||
|
elif conf.env.DEST_OS == 'darwin':
|
||||||
|
conf.env.DEFAULT_RPATH = '@loader_path'
|
||||||
else:
|
else:
|
||||||
conf.env.DEFAULT_RPATH = '$ORIGIN'
|
conf.env.DEFAULT_RPATH = '$ORIGIN'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user