diff options
author | Max Kellermann <max@duempel.org> | 2014-02-22 10:21:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-22 10:22:31 +0100 |
commit | 25977d56c81502682b6cdec42b031a19a1ddfec8 (patch) | |
tree | 94b5bed607a9de0d9c1a0432d3efa3019c1ea271 /android | |
parent | 4dcf0b8ae0569beaf615fc19df2147bfb1597046 (diff) | |
download | mpd-25977d56c81502682b6cdec42b031a19a1ddfec8.tar.gz mpd-25977d56c81502682b6cdec42b031a19a1ddfec8.tar.xz mpd-25977d56c81502682b6cdec42b031a19a1ddfec8.zip |
android/build.py: add -Iroot/include and -Lroot/lib
Allow library auto-detection without pkg-config.
Diffstat (limited to 'android')
-rwxr-xr-x | android/build.py | 4 |
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: |