From 25977d56c81502682b6cdec42b031a19a1ddfec8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 22 Feb 2014 10:21:09 +0100 Subject: android/build.py: add -Iroot/include and -Lroot/lib Allow library auto-detection without pkg-config. --- android/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'android') diff --git a/android/build.py b/android/build.py index c89baf216..043d6ceeb 100755 --- a/android/build.py +++ b/android/build.py @@ -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: -- cgit v1.2.3