summaryrefslogtreecommitdiff
path: root/hunspell
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-10-29 13:49:56 +0200
committerTor Lillqvist <tml@iki.fi>2012-10-29 13:52:20 +0200
commit6571f071ce98f4066b5213b6c08e8a3eb4043cd2 (patch)
tree4ada628f6d68b2268c8a714f9d2b99fee2d45821 /hunspell
parentd72b774bf68085afbc23b9166f27ed77cdda870e (diff)
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
Diffstat (limited to 'hunspell')
-rw-r--r--hunspell/ExternalProject_hunspell.mk2
1 files changed, 1 insertions, 1 deletions
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") \