aspell: fix undefined reference to `libintl_dgettext'

see: https://github.com/mxe/mxe/pull/1210#issuecomment-178471641
This commit is contained in:
Pavel Vatagin 2016-02-02 21:36:34 +11:00 committed by Tony Theodore
parent 2c69e7a2c9
commit 62171e682f
1 changed files with 5 additions and 0 deletions

View File

@ -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