[Libreoffice-commits] .: hunspell/ExternalProject_hunspell.mk

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 29 05:02:06 PDT 2012


 hunspell/ExternalProject_hunspell.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6571f071ce98f4066b5213b6c08e8a3eb4043cd2
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon Oct 29 13:49:56 2012 +0200

    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

diff --git a/hunspell/ExternalProject_hunspell.mk b/hunspell/ExternalProject_hunspell.mk
index a374f13..f2eaf7c 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") \


More information about the Libreoffice-commits mailing list