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: