Browse Source

wscript: force to use server library name for android.

master
Andrey Akhmichin 11 months ago
parent
commit
443124ca6f
  1. 4
      wscript

4
wscript

@ -230,6 +230,10 @@ def configure(conf):
if conf.env.HLDEMO_BUILD and conf.env.OEM_BUILD: if conf.env.HLDEMO_BUILD and conf.env.OEM_BUILD:
conf.fatal('Don\'t mix Demo and OEM builds!') conf.fatal('Don\'t mix Demo and OEM builds!')
# force to use server library name
if conf.env.DEST_OS == 'android':
conf.env.SERVER_LIBRARY_NAME = 'server' # can't be any other name, until specified
# strip lib from pattern # strip lib from pattern
if conf.env.DEST_OS not in ['android']: if conf.env.DEST_OS not in ['android']:
if conf.env.cxxshlib_PATTERN.startswith('lib'): if conf.env.cxxshlib_PATTERN.startswith('lib'):

Loading…
Cancel
Save