[Android] build: enable mad

Thomas Guillem git at videolan.org
Tue Oct 21 17:44:13 CEST 2014


vlc-ports/android | branch: master | Thomas Guillem <tom at gllm.fr> | Tue Oct 21 16:17:41 2014 +0200| [7f9c6f86ac3b1611f7847bd56baa6694b5d7cb2b] | committer: Jean-Baptiste Kempf

build: enable mad

ref #11479

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=7f9c6f86ac3b1611f7847bd56baa6694b5d7cb2b
---

 configure.sh               |    2 +-
 vlc-android/jni/Android.mk |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.sh b/configure.sh
index bec7966..aefecf2 100755
--- a/configure.sh
+++ b/configure.sh
@@ -81,7 +81,7 @@ sh $VLC_SOURCEDIR/configure --host=$TARGET_TUPLE --build=x86_64-unknown-linux $E
                 --disable-sid \
                 --disable-gme \
                 --disable-tremor \
-                --disable-mad \
+                --enable-mad \
                 --disable-dca \
                 --disable-sdl-image \
                 --disable-zvbi \
diff --git a/vlc-android/jni/Android.mk b/vlc-android/jni/Android.mk
index d98672f..0ce845e 100644
--- a/vlc-android/jni/Android.mk
+++ b/vlc-android/jni/Android.mk
@@ -77,6 +77,7 @@ LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \
 	-lfreetype -liconv -lass -lfribidi -lopus \
 	-lEGL -lGLESv2 -ljpeg \
 	-ldvdnav -ldvdread -ldvdcss \
+	-lmad \
 	$(CPP_STATIC)
 
 include $(BUILD_SHARED_LIBRARY)



More information about the Android mailing list