mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-31 17:24:15 +00:00
wscript: respect --libdir argument with packaging enabled. Fix a typo in --disable-soft description
This commit is contained in:
parent
0621e365ff
commit
0f2bb5720b
4
wscript
4
wscript
@ -106,7 +106,7 @@ def options(opt):
|
|||||||
help = 'disable opengl renderer [default: %default]')
|
help = 'disable opengl renderer [default: %default]')
|
||||||
|
|
||||||
grp.add_option('--disable-soft', action='store_false', dest='SOFT', default=True,
|
grp.add_option('--disable-soft', action='store_false', dest='SOFT', default=True,
|
||||||
help = 'disable opengl renderer [default: %default]')
|
help = 'disable soft renderer [default: %default]')
|
||||||
|
|
||||||
grp = opt.add_option_group('Utilities options')
|
grp = opt.add_option_group('Utilities options')
|
||||||
|
|
||||||
@ -351,7 +351,7 @@ int main(int argc, char **argv) { strcasestr(argv[1], argv[2]); return 0; }'''
|
|||||||
|
|
||||||
# indicate if we are packaging for Linux/BSD
|
# indicate if we are packaging for Linux/BSD
|
||||||
if conf.options.PACKAGING:
|
if conf.options.PACKAGING:
|
||||||
conf.env.LIBDIR = conf.env.BINDIR = '${PREFIX}/lib/xash3d'
|
conf.env.LIBDIR = conf.env.BINDIR = conf.env.LIBDIR + '/xash3d'
|
||||||
conf.env.SHAREDIR = '${PREFIX}/share/xash3d'
|
conf.env.SHAREDIR = '${PREFIX}/share/xash3d'
|
||||||
else:
|
else:
|
||||||
if sys.platform != 'win32' and not conf.env.DEST_OS == 'android':
|
if sys.platform != 'win32' and not conf.env.DEST_OS == 'android':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user