diff --git a/BUILD_ANDROID.md b/BUILD_ANDROID.md index b27e4a7593..c1e0477f87 100644 --- a/BUILD_ANDROID.md +++ b/BUILD_ANDROID.md @@ -90,10 +90,10 @@ Download the [Soxr source](http://sourceforge.net/projects/soxr/) and extract th From the soxr directory, use cmake, along with the `android.toolchain.cmake` file (included in this repository under cmake/android) to cross-compile soxr for Android. Note that you will need ANDROID_NDK set in your environment before using the toolchain file. -The full set of commands to build soxr for Android is shown below +The full set of commands to build soxr for Android is shown below. It is a long command, make sure you copy the entire command (up to `-DBUILD_TESTS=0`). ``` -cmake -DCMAKE_TOOLCHAIN_FILE=$FULL_PATH_TO_TOOLCHAIN -DCMAKE_INSTALL_PREFIX=. -DHAVE_WORDS_BIGENDIAN_EXITCODE=1 -DBUILD_TESTS=0 +cmake -DCMAKE_TOOLCHAIN_FILE=$FULL_PATH_TO_TOOLCHAIN -DCMAKE_INSTALL_PREFIX=. -D-DBUILD_SHARED_LIBS=OFF -DHAVE_WORDS_BIGENDIAN_EXITCODE=1 -DBUILD_TESTS=0 make make install ```