mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-08-31 16:21:59 +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,9 +19,10 @@ 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.cxxshlib_PATTERN.startswith('lib'):
|
if conf.env.DEST_OS != 'android':
|
||||||
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
|
if conf.env.cxxshlib_PATTERN.startswith('lib'):
|
||||||
|
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
|
||||||
|
|
||||||
if conf.check_cc(fragment=MEMFD_CREATE_TEST, msg='Checking for memfd_create', mandatory=False):
|
if conf.check_cc(fragment=MEMFD_CREATE_TEST, msg='Checking for memfd_create', mandatory=False):
|
||||||
conf.define('HAVE_MEMFD_CREATE', 1)
|
conf.define('HAVE_MEMFD_CREATE', 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user