Browse Source

waifulib: fix including system includes

pull/2/head
Alibek Omarov 5 years ago
parent
commit
ee363ebb74
  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