Skip to content

Instantly share code, notes, and snippets.

@leveled
Created March 10, 2022 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leveled/71fa169a15a64e8d98cacf39dfa195a0 to your computer and use it in GitHub Desktop.
Save leveled/71fa169a15a64e8d98cacf39dfa195a0 to your computer and use it in GitHub Desktop.
Build a shared library with the prebuilt NDK toolchain
"$NDK"/toolchains/llvm/prebuilt/"$HOST_TAG"/bin/clang++ -shared -fPIC inject_test.cpp -o libinjecttest.so -target aarch64-linux-android21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment