mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-09-02 17:22:08 +00:00
filesystem: restore lib prefix on Android, otherwise Android won't unpack the libraries
This commit is contained in:
parent
0e48f57247
commit
1c0d145874
@ -19,7 +19,8 @@ def configure(conf):
|
|||||||
if conf.env.DEST_OS == 'android':
|
if conf.env.DEST_OS == 'android':
|
||||||
conf.check_cc(lib='android')
|
conf.check_cc(lib='android')
|
||||||
|
|
||||||
# remove lib prefix
|
# remove lib prefix, except on Android which has issues unpacking libraries without prefix when debuggable=false
|
||||||
|
if conf.env.DEST_OS != 'android':
|
||||||
if conf.env.cxxshlib_PATTERN.startswith('lib'):
|
if conf.env.cxxshlib_PATTERN.startswith('lib'):
|
||||||
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
|
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user