Browse Source

waifulib: xcompile: fix including system includes

half-secret
Alibek Omarov 5 years ago
parent
commit
c2849e43cf
  1. 2
      scripts/waifulib/xcompile.py

2
scripts/waifulib/xcompile.py

@ -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…
Cancel
Save