aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xandroid/build.py4
1 files changed, 2 insertions, 2 deletions
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: