Commit 25977d56 authored by Max Kellermann's avatar Max Kellermann

android/build.py: add -Iroot/include and -Lroot/lib

Allow library auto-detection without pkg-config.
parent 4dcf0b8a
......@@ -79,8 +79,8 @@ def select_toolchain(use_cxx, use_clang):
cflags = '-Os -g ' + target_arch
cxxflags = '-Os -g ' + target_arch
cppflags = '--sysroot=' + target_root
ldflags = '--sysroot=' + target_root
cppflags = '--sysroot=' + target_root + ' -I' + root_path + '/include'
ldflags = '--sysroot=' + target_root + ' -L' + root_path + '/lib'
libs = ''
if use_cxx:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment