From 6571f071ce98f4066b5213b6c08e8a3eb4043cd2 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 29 Oct 2012 13:49:56 +0200 Subject: Pass gb_STDLIBS in LIBS to the hunspell configure Otherwise the executables (that we won't need of course) won't link for Android. Change-Id: I993f404caa77e8ceadd669230eba43469cffc5a1 --- hunspell/ExternalProject_hunspell.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hunspell') diff --git a/hunspell/ExternalProject_hunspell.mk b/hunspell/ExternalProject_hunspell.mk index a374f13ae1f3..f2eaf7cf2d67 100644 --- a/hunspell/ExternalProject_hunspell.mk +++ b/hunspell/ExternalProject_hunspell.mk @@ -17,7 +17,7 @@ $(eval $(call gb_ExternalProject_register_targets,hunspell,\ $(call gb_ExternalProject_get_state_target,hunspell,build): cd $(EXTERNAL_WORKDIR) \ - && ./configure --disable-shared --disable-nls --with-pic \ + && LIBS="$(addprefix -l,$(gb_STDLIBS)) $(LIBS)" ./configure --disable-shared --disable-nls --with-pic \ $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM))\ $(if $(filter AIX,$(OS)),CFLAGS="-D_LINUX_SOURCE_COMPAT") \ $(if $(filter C53,$(COM)),CFLAGS="-xc99=none") \ -- cgit