summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-11-27 02:29:16 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-11-27 02:29:16 (GMT)
commitb4decd34e269c833726b6cf764cde7b443b0e5f3 (patch)
treed25128720e621a3b29807ee11e4bfc000ccbda45
parent19d0acd474e39fbc2c2f7f136f9abaafdfcdc337 (diff)
downloadmxe-b4decd34e269c833726b6cf764cde7b443b0e5f3.zip
mxe-b4decd34e269c833726b6cf764cde7b443b0e5f3.tar.gz
mxe-b4decd34e269c833726b6cf764cde7b443b0e5f3.tar.bz2
aspell: fix for -ldl detection
fixes #1013
-rw-r--r--src/aspell.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/aspell.mk b/src/aspell.mk
index 6e17ade..9074a60 100644
--- a/src/aspell.mk
+++ b/src/aspell.mk
@@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc
+$(PKG)_DEPS := gcc dlfcn-win32
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/aspell/' | \
@@ -24,8 +24,9 @@ define $(PKG)_BUILD
--disable-nls
# libtool misses some dependency libs and there's no lt_cv* etc. options
+ # can be removed after 0.60.6.1 if recent libtool et al. is used
$(if $(BUILD_SHARED),\
- $(SED) -i 's#^postdeps="-#postdeps="-lpthread -#g' '$(1)/libtool')
+ $(SED) -i 's#^postdeps="-#postdeps="-ldl -lpthread -#g' '$(1)/libtool')
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef