title: How to build libvpx as static library
body: <p>In my jni directory, I run the following command:</p>
  
  <pre><code>$ ./libvpx/configure --target=armv7-android-gcc --disable-examples --sdk-path=/home/peter/adt/android-ndk-r9/
  </code></pre>
  
  <p>This results in generating Android.mk in libvpx/build/make directory</p>
  
  <p>Next, I create Android.mk in jni directory:</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  include $(CLEAR_VARS)
  include libvpx/build/make/Android.mk
  </code></pre>
  
  <p>When I run ndk-build, it ends up creating libvpx.so.</p>
  
  <p>However, I would really like to create a static library.</p>
  
  <p>I started all over and ran the configuration with an extra flag:</p>
  
  <pre><code>$ ./libvpx/configure --target=armv7-android-gcc --disable-examples --sdk-path=/home/peter/adt/android-ndk-r9/ --enable-static
  </code></pre>
  
  <p>However, running ndk-build still results in creating libvpx.so.</p>
  
  <p>Does any know how I can configure libvpx to create a static library? Thank you in advance for your help.</p>