In my jni directory, I run the following command:
$ ./libvpx/configure --target=armv7-android-gcc --disable-examples --sdk-path=/home/peter/adt/android-ndk-r9/
This leads to the generation of Android.mk in the libvpx / build / make directory
Then I create Android.mk in the jni directory:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
include libvpx/build/make/Android.mk
When I run ndk-build, it creates libvpx.so.
However, I would really like to create a static library.
I started all over and completed the configuration with an additional flag:
$ ./libvpx/configure --target=armv7-android-gcc --disable-examples --sdk-path=/home/peter/adt/android-ndk-r9/ --enable-static
However, running ndk-build still leads to the creation of libvpx.so.
Does anyone know how I can configure libvpx to create a static library? Thank you in advance for your help.
source
share