Skip to content

Fix build when using Android NDK >= r9 #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 15, 2014

Conversation

illarionov
Copy link
Contributor

Android NDK tools places all generated libraries under $PROJECT/libs directory.
Since android-ndk-r9, at least on Ubuntu, NDK Tools places generated *.so under libs/ while we expect them under $(EXTERNAL_DIR)/libs and $(JNI_DIR)/libs.
The solution is to specify libraries directory using NDK_LIBS_OUT.

NDK docs:
android-ndk-r9b/docs/OVERVIEW.html III.6/ Specifying custom output directories

Reports about this bug:
https://groups.google.com/d/msg/sqlcipher/cbt5ZOVMgEk/kiiWi4e8fIoJ
https://groups.google.com/d/msg/sqlcipher/WqDDsH4nUtE/EYUcSJ8G2L0J

Android NDK tools places all generated libraries under $PROJECT/libs
directory.
Since android-ndk-r9, at least on Ubuntu, NDK Tools places generated *.so under libs/,
while we expect them under $(EXTERNAL_DIR)/libs and $(JNI_DIR)/libs
The solution is to specify libraries directory using NDK_LIBS_OUT.

NDK docs:
android-ndk-r9b/docs/OVERVIEW.html III.6/ Specifying custom output directories

Reports about this bug:
https://groups.google.com/d/msg/sqlcipher/cbt5ZOVMgEk/kiiWi4e8fIoJ
https://groups.google.com/d/msg/sqlcipher/WqDDsH4nUtE/EYUcSJ8G2L0J
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants