2
0
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:
Alibek Omarov 2022-11-15 15:46:31 +03:00
parent c8438f3fd7
commit 4ba4f5a9bc

View File

@ -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'):