Mercurial > mxe-octave
diff src/gettext.mk @ 3285:67bcfe6539c7
[MSVC] update gettext compilation.
* src/gettext.mk: Compile full gettext package.
* src/msvc-gettext-1.patch: Update patch and extend to full gettext
sources.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Tue, 05 Nov 2013 09:05:23 -0500 |
parents | d14aa99add06 |
children | cf6f40cededb |
line wrap: on
line diff
--- a/src/gettext.mk Tue Nov 05 09:05:23 2013 -0500 +++ b/src/gettext.mk Tue Nov 05 09:05:23 2013 -0500 @@ -26,4 +26,17 @@ --without-libxml2-prefix \ CONFIG_SHELL=$(SHELL) && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)/gettext-runtime' -j '$(JOBS)' install + + $(if $(filter msvc,$(MXE_SYSTEM)), + cd '$(1)/gettext-tools' && ./configure \ + $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ + $(ENABLE_SHARED_OR_STATIC) \ + --prefix='$(HOST_PREFIX)' \ + --enable-threads=win32 \ + --without-libexpat-prefix \ + --without-libxml2-prefix \ + ac_cv_func_memset=yes \ + CONFIG_SHELL=$(SHELL) && $(CONFIGURE_POST_HOOK) + $(MAKE) -C '$(1)/gettext-tools' -j '$(JOBS)' install + ) endef