android_libs
android_libs copied to clipboard
Build clapack as shared library instead of static?
See title.
In Android.mk, I tried replacing uncommenting these lines on the bottom of the file:
include $(CLEAR_VARS)
LOCAL_MODULE:= testlapack
LOCAL_SRC_FILES:= testclapack.cpp
LOCAL_STATIC_LIBRARIES := lapack
include $(BUILD_SHARED_LIBRARY)
But when executing ndk-build, I get the error:
/home/djacobs/Android/Sdk/ndk/23.1.7779620/build/core/build-binary.mk:643: Android NDK: Module lapack depends on undefined modules: tmglib
/home/djacobs/Android/Sdk/ndk/23.1.7779620/build/core/build-binary.mk:656: *** Android NDK: Note that old versions of ndk-build silently ignored this error case. If your project worked on those versions, the missing libraries were not needed and you can remove those dependencies from the module to fix your build. Alternatively, set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies. . Stop.
If I add APP_ALLOW_MISSING_DEPS := true to Android.mk, it builds liblapack.so, but I still have no libclapack.so