summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-11-21 02:35:53 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-11-21 02:35:53 (GMT)
commit9d7a8741a2fc06aab0926e1a05a1086597a25d63 (patch)
treeeac1159871724e38cee54a355a71cb0a7126935b
parent54c8dffbc60df9b9e6ce00aa0cd9e33e0908ea57 (diff)
downloadmxe-9d7a8741a2fc06aab0926e1a05a1086597a25d63.zip
mxe-9d7a8741a2fc06aab0926e1a05a1086597a25d63.tar.gz
mxe-9d7a8741a2fc06aab0926e1a05a1086597a25d63.tar.bz2
aspell: fix shared build for missing libtool deps
fixes #989
-rw-r--r--src/aspell.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aspell.mk b/src/aspell.mk
index 1a6cb34..6e17ade 100644
--- a/src/aspell.mk
+++ b/src/aspell.mk
@@ -22,5 +22,10 @@ define $(PKG)_BUILD
--enable-win32-relocatable \
--disable-curses \
--disable-nls
+
+ # libtool misses some dependency libs and there's no lt_cv* etc. options
+ $(if $(BUILD_SHARED),\
+ $(SED) -i 's#^postdeps="-#postdeps="-lpthread -#g' '$(1)/libtool')
+
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef