Advertisement
Guest User

Untitled

a guest
Sep 27th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. make clean
  2.  
  3. ./configure \
  4. --target-os="$TARGET_OS" \
  5. --cross-prefix="$CROSS_PREFIX" \
  6. --arch="$NDK_ABI" \
  7. --cpu="$CPU" \
  8. --enable-runtime-cpudetect \
  9. --sysroot="$NDK_SYSROOT" \
  10. --enable-openssl \
  11. --disable-debug \
  12. --disable-ffserver \
  13. --enable-version3 \
  14. --enable-hardcoded-tables \
  15. --disable-ffplay \
  16. --disable-ffprobe \
  17. --enable-gpl \
  18. --enable-yasm \
  19. --disable-doc \
  20. --disable-shared \
  21. --enable-static \
  22. --enable-nonfree \
  23. --pkg-config="pkg-config --static" \
  24. --prefix="${2}/build/${1}" \
  25. --extra-cflags="-I/usr/local/ssl/android-18/include $CFLAGS" \
  26. --extra-ldflags="-static -L/usr/local/ssl/android-18/lib $LDFLAGS" \
  27. --extra-cxxflags="$CXX_FLAGS" || exit 1
  28.  
  29. make -j${NUMBER_OF_CORES} && make install || exit 1
  30.  
  31. popd
  32. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement