mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-21 17:36:18 +01:00
wscript: keep lib prefix only on selected platforms, e.g. Android
This commit is contained in:
parent
c8438f3fd7
commit
4ba4f5a9bc
2
wscript
2
wscript
@ -175,7 +175,7 @@ def configure(conf):
|
||||
conf.env.append_unique('CXXFLAGS', ['-Wno-invalid-offsetof', '-fno-rtti', '-fno-exceptions'])
|
||||
|
||||
# strip lib from pattern
|
||||
if conf.env.DEST_OS in ['linux', 'darwin']:
|
||||
if conf.env.DEST_OS not in ['android']:
|
||||
if conf.env.cshlib_PATTERN.startswith('lib'):
|
||||
conf.env.cshlib_PATTERN = conf.env.cshlib_PATTERN[3:]
|
||||
if conf.env.cxxshlib_PATTERN.startswith('lib'):
|
||||
|
Loading…
Reference in New Issue
Block a user