Android NDK build
a guest Aug 14th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- export PATH="$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
- mkdir build-zmq && cd build-zmq
- CC=armv7a-linux-androideabi16-clang CXX=armv7a-linux-androideabi16-clang++ ../libzmq/configure --enable-static --disable-shared --host=armv7a-linux-androideabi16 --prefix=$OUTPUT_DIR LDFLAGS="-L$OUTPUT_DIR/lib" CPPFLAGS="-fPIC -I$OUTPUT_DIR/include"
RAW Paste Data