diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2012-01-07 15:05:51 +0000 |
---|---|---|
committer | Mohamed Naufal <naufal22@gmail.com> | 2012-01-10 22:45:53 +0530 |
commit | d7b786e9a1e228f4da30fb8dbf1db065629ea677 (patch) | |
tree | 178d1e03ed047230c1376f18c2f899a6b779a2e3 /tools/build_libstagefright | |
parent | e82cbb69a768205d0bea2fc5b97377dff35d5e72 (diff) | |
download | ffmpeg-d7b786e9a1e228f4da30fb8dbf1db065629ea677.tar.gz |
libstagefright: fix build
- Use headers from gingerbread-release branch instead of the current default ice cream sandwich
- Fix path mistype
Diffstat (limited to 'tools/build_libstagefright')
-rwxr-xr-x | tools/build_libstagefright | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/build_libstagefright b/tools/build_libstagefright index ada8d4e239..78c20841ee 100755 --- a/tools/build_libstagefright +++ b/tools/build_libstagefright @@ -6,15 +6,17 @@ if [ "$NDK" = "" ]; then fi echo "Fetching Android system headers" -git clone --depth=1 git://github.com/CyanogenMod/android_frameworks_base.git ../android-source/frameworks/base -git clone --depth=1 git://github.com/CyanogenMod/android_system_core.git ../android-source/system/core +git clone --depth=1 --branch gingerbread-release git://github.com/CyanogenMod/android_frameworks_base.git ../android-source/frameworks/base +git clone --depth=1 --branch gingerbread-release git://github.com/CyanogenMod/android_system_core.git ../android-source/system/core echo "Fetching Android libraries for linking" # Libraries from any froyo/gingerbread device/emulator should work # fine, since the symbols used should be available on most of them. -if [ ! -f "../update-cm-7.0.3-N1-signed.zip" ]; then - wget http://download.cyanogenmod.com/get/update-cm-7.0.3-N1-signed.zip -P../ - unzip update-cm-7.0.3-N1-signed.zip system/lib/* -d../ +if [ ! -d "../android-libs" ]; then + if [ ! -f "../update-cm-7.0.3-N1-signed.zip" ]; then + wget http://download.cyanogenmod.com/get/update-cm-7.0.3-N1-signed.zip -P../ + fi + unzip ../update-cm-7.0.3-N1-signed.zip system/lib/* -d../ mv ../system/lib ../android-libs rmdir ../system fi |