summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Vatagin <pavelvat@gmail.com>2016-02-02 10:36:34 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-02-29 12:42:17 (GMT)
commit62171e682f84f8fbc3ee34148d76324924581891 (patch)
tree73e28b8bd9754b146edd3524084f93f25bda72ea /src
parent2c69e7a2c989043477e6a9513daedf2a119a4974 (diff)
downloadmxe-62171e682f84f8fbc3ee34148d76324924581891.zip
mxe-62171e682f84f8fbc3ee34148d76324924581891.tar.gz
mxe-62171e682f84f8fbc3ee34148d76324924581891.tar.bz2
aspell: fix undefined reference to `libintl_dgettext'
see: https://github.com/mxe/mxe/pull/1210#issuecomment-178471641
Diffstat (limited to 'src')
-rw-r--r--src/aspell.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aspell.mk b/src/aspell.mk
index 1abe843..b0a233a 100644
--- a/src/aspell.mk
+++ b/src/aspell.mk
@@ -26,5 +26,10 @@ define $(PKG)_BUILD
--disable-pthreads \
CPPFLAGS='-DENABLE_W32_PREFIX=1'
+ # fix undefined reference to `libintl_dgettext'
+ # https://github.com/mxe/mxe/pull/1210#issuecomment-178471641
+ $(if $(BUILD_SHARED),\
+ $(SED) -i 's#^postdeps="-#postdeps="-lintl -#g' '$(1)/libtool')
+
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef