diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-11-26 03:28:00 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-11-26 03:28:00 (GMT) |
commit | 188a7757d9f546dffc5ae90de07d73a9f01a5438 (patch) | |
tree | 5a547bb94bbdf332e94d50b7cb40c46a6eb86910 /src/coin.mk | |
parent | 4e9319d42f4aab3037a1f86117e3911a17c3010a (diff) | |
download | mxe-188a7757d9f546dffc5ae90de07d73a9f01a5438.zip mxe-188a7757d9f546dffc5ae90de07d73a9f01a5438.tar.gz mxe-188a7757d9f546dffc5ae90de07d73a9f01a5438.tar.bz2 |
coin: fix update and detection of -ldl
Diffstat (limited to 'src/coin.mk')
-rw-r--r-- | src/coin.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coin.mk b/src/coin.mk index d7f52b8..c66791e 100644 --- a/src/coin.mk +++ b/src/coin.mk @@ -8,13 +8,13 @@ $(PKG)_CHECKSUM := 583478c581317862aa03a19f14c527c3888478a06284b9a46a0155fa5886d $(PKG)_SUBDIR := Coin-$($(PKG)_VERSION) $(PKG)_FILE := Coin-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://bitbucket.org/Coin3D/coin/downloads/$($(PKG)_FILE) -$(PKG)_DEPS := gcc +$(PKG)_DEPS := gcc dlfcn-win32 define $(PKG)_UPDATE $(WGET) -q -O- 'https://bitbucket.org/Coin3D/coin/downloads' | \ $(SED) -n 's,.*Coin-\([0-9.]*\).tar.gz.*,\1,p' | \ $(SORT) -V | \ - $(TAIL) -n1 + tail -1 endef define $(PKG)_BUILD @@ -27,7 +27,7 @@ define $(PKG)_BUILD COIN_STATIC=$(if $(BUILD_STATIC),true,false) # libtool misses some dependency libs and there's no lt_cv* etc. options - $(SED) -i 's,^postdeps="-,postdeps="-lopengl32 -lgdi32 -lwinmm -,g' '$(1)/libtool' + $(SED) -i 's,^postdeps="-,postdeps="-ldl -lopengl32 -lgdi32 -lwinmm -,g' '$(1)/libtool' $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install |