mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00:00
waifulib: xcompile: fix including system includes
This commit is contained in:
parent
fbb5da7051
commit
c2849e43cf
@ -240,7 +240,7 @@ class Android:
|
|||||||
if self.is_host():
|
if self.is_host():
|
||||||
cflags += [
|
cflags += [
|
||||||
'--sysroot=%s/sysroot' % (self.gen_gcc_toolchain_path()),
|
'--sysroot=%s/sysroot' % (self.gen_gcc_toolchain_path()),
|
||||||
'-I%s/usr/include/' % (self.sysroot())
|
'-isystem', '%s/usr/include/' % (self.sysroot())
|
||||||
]
|
]
|
||||||
|
|
||||||
cflags += ['-I%s' % (self.system_stl()), '-DANDROID', '-D__ANDROID__']
|
cflags += ['-I%s' % (self.system_stl()), '-DANDROID', '-D__ANDROID__']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user