summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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