summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-02-09 16:43:46 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-02-09 16:43:46 (GMT)
commit2c2cd131fe5ff1752c9c0b5468128124f2360076 (patch)
tree7657315b5a92830ece8eef02ea2f4bc5c458333c
parent837ecd6648a20d41d4438c192af469b168156535 (diff)
downloadmxe-2c2cd131fe5ff1752c9c0b5468128124f2360076.zip
mxe-2c2cd131fe5ff1752c9c0b5468128124f2360076.tar.gz
mxe-2c2cd131fe5ff1752c9c0b5468128124f2360076.tar.bz2
package hdf5: disable shared build and workaround for generated sources
-rw-r--r--src/hdf5.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hdf5.mk b/src/hdf5.mk
index 2d1199e..c72d291 100644
--- a/src/hdf5.mk
+++ b/src/hdf5.mk
@@ -40,7 +40,9 @@ define $(PKG)_BUILD
echo 'H5detect.exe > $(TARGET)\H5Tinit.c'; \
echo 'H5make_libsettings.exe > $(TARGET)\H5lib_settings.c';) \
> '$(PREFIX)/$(TARGET)/bin/hdf5-create-settings.bat'
- cp '$(1)/mxe-generated-sources/$(TARGET)/'*.c '$(1)/src/'
+ # workaround until easy way of adding targets is found
+ # cp '$(1)/mxe-generated-sources/$(TARGET)/'*.c '$(1)/src/'
+ cp '$(1)/mxe-generated-sources/$(word 1,$(subst ., ,$(TARGET)))/'*.c '$(1)/src/'
$(MAKE) -C '$(1)'/src -j '$(JOBS)'
$(MAKE) -C '$(1)'/src -j 1 install
@@ -61,3 +63,5 @@ define $(PKG)_BUILD
'$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-hdf5.exe' \
-lhdf5_hl -lhdf5 -lz
endef
+
+$(PKG)_BUILD_SHARED=