Kaydet (Commit) 6571f071 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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
üst d72b774b
...@@ -17,7 +17,7 @@ $(eval $(call gb_ExternalProject_register_targets,hunspell,\ ...@@ -17,7 +17,7 @@ $(eval $(call gb_ExternalProject_register_targets,hunspell,\
$(call gb_ExternalProject_get_state_target,hunspell,build): $(call gb_ExternalProject_get_state_target,hunspell,build):
cd $(EXTERNAL_WORKDIR) \ 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 YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM))\
$(if $(filter AIX,$(OS)),CFLAGS="-D_LINUX_SOURCE_COMPAT") \ $(if $(filter AIX,$(OS)),CFLAGS="-D_LINUX_SOURCE_COMPAT") \
$(if $(filter C53,$(COM)),CFLAGS="-xc99=none") \ $(if $(filter C53,$(COM)),CFLAGS="-xc99=none") \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment