Problem import NDK Libs
Monkey Forums/Monkey Bug Reports/Problem import NDK Libs
| ||
In my module, I need to import my lib.jar and my NDK files lib.so I only succeed to import the jar file with the import command. #LIBS+="${CD}/libs/lib.jar" but when I import these ndk files #LIBS+="${CD}/libs/armeabi/lib.so" #LIBS+="${CD}/libs/armeabi-v7a/lib.so" #LIBS+="${CD}/libs/mips/lib.so" #LIBS+="${CD}/libs/x86/lib.so" the directories (armeabi, x86, ...) are lost and there is only one file in target directory, the lib.so from ${CD}/libs/x86/ path ( the last one ) The only solution I've found is to copy NDK files with theirs directories in the template android target. I know this solution is not clean but it's the only one I find. I think it will be great to make an exception only on .so files and android and copy the file with the EABI's directory name in that case. The monkey version I use is v79e with android target |
| ||
Actually, I would suggest a customized target is much cleaner than the cluster#*!? EVERYTHING_MAKE transcc is attempting! I'll give your suggested fix a go though. |