SHARE
TWEET

Android NDK build

a guest Aug 14th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export PATH="$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
  2.  
  3. mkdir build-zmq && cd build-zmq
  4.  
  5. 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top