Commit 7c4d84d
committed
Fix build when using Android NDK >= r9
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/EYUcSJ8G2L0J1 parent 22aa554 commit 7c4d84d
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments