Browse Source

filesystem: wscript: fix library name on Android

pull/2/head
Alibek Omarov 2 years ago
parent
commit
33cbead4a4
  1. 6
      filesystem/wscript

6
filesystem/wscript

@ -9,8 +9,10 @@ def configure(conf):
'default': ['-fno-rtti', '-fno-exceptions'] 'default': ['-fno-rtti', '-fno-exceptions']
} }
conf.env.append_unique('CXXFLAGS', conf.get_flags_by_compiler(nortti, conf.env.COMPILER_CC)) conf.env.append_unique('CXXFLAGS', conf.get_flags_by_compiler(nortti, conf.env.COMPILER_CC))
if conf.env.cxxshlib_PATTERN.startswith('lib'):
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:] if conf.env.DEST_OS != 'android':
if conf.env.cxxshlib_PATTERN.startswith('lib'):
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
def build(bld): def build(bld):
bld.shlib(target = 'filesystem_stdio', bld.shlib(target = 'filesystem_stdio',

Loading…
Cancel
Save