diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@collabora.com> | 2012-01-13 16:57:15 -0300 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-01-18 01:36:29 +0000 |
commit | 8a61dc539921d5510af63e100d27ddf36fc6a978 (patch) | |
tree | 4499fbe9f3502ff1b1fe14e4a9392361bda6d0ef | |
parent | c95e1a817ad41664c99dad14f61eb7cb4f6838bd (diff) |
Android, Add explicit path for zlib
This change fixes building gst-libs/gst/tag/ code with
the Android buildsystem.
-rw-r--r-- | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index a78bd6921..e6a07b682 100644 --- a/Android.mk +++ b/Android.mk @@ -67,6 +67,7 @@ GST_PLUGINS_BASE_BUILT_SOURCES := \ ifneq ($(NDK_BUILD), true) GST_PLUGINS_BASE_BUILT_SOURCES += ext/vorbis/Android.mk +ZLIB_CFLAGS = -I $(abspath $(GST_PLUGINS_BASE_TOP)/../../zlib) endif GST_PLUGINS_BASE_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_PLUGINS_BASE_TOP))/%, $(GST_PLUGINS_BASE_BUILT_SOURCES)) @@ -85,6 +86,7 @@ gst-plugins-base-configure: PKG_CONFIG_TOP_BUILD_DIR=/ \ IVORBIS_CFLAGS="-I$(TOP)/external/tremolo -DTREMOR" \ IVORBIS_LIBS="-lvorbisidec" \ + ZLIB_CFLAGS="$(ZLIB_CFLAGS)" \ $(abspath $(GST_PLUGINS_BASE_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \ --prefix=/system --disable-orc --disable-gio --enable-ivorbis \ --disable-valgrind --disable-gtk-doc && \ |