From 88b6214ebfd43238256e0390a69c184c90d3150a Mon Sep 17 00:00:00 2001 From: Alvaro Soliverez Date: Fri, 23 Mar 2012 14:47:42 -0300 Subject: [PATCH] On Android, use pkg-config --static This makes it output the complete dependency chain for each library, e.g. libffi for GObject. This is necessary because Android toolchains don't follow shared library interdependencies like normal GNU toolchains. --- Android.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Android.mk b/Android.mk index 36a0ad8..2bd1a6f 100644 --- a/Android.mk +++ b/Android.mk @@ -15,6 +15,7 @@ ytstenut-glib-configure-real: LDFLAGS="$(CONFIGURE_LDFLAGS)" \ CPP=$(CONFIGURE_CPP) \ CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \ + PKG_CONFIG="pkg-config --static" \ PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \ PKG_CONFIG_TOP_BUILD_DIR=$(PKG_CONFIG_TOP_BUILD_DIR) \ $(YTSTENUT_GLIB_TOP)/$(CONFIGURE) --host=arm-linux-androideabi \ -- 1.7.7.3