summaryrefslogtreecommitdiffstats
path: root/src/hdf4.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-10-14 03:17:18 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-10-14 03:19:26 (GMT)
commit1a030bbe32dcb0f6a5af5d88ff769c495719ccd4 (patch)
tree8538f9b0175ea5a92f072cd017510042152ff462 /src/hdf4.mk
parenta8f4f4647561b58f3afff657f76a0ea8cc06ee47 (diff)
downloadmxe-1a030bbe32dcb0f6a5af5d88ff769c495719ccd4.zip
mxe-1a030bbe32dcb0f6a5af5d88ff769c495719ccd4.tar.gz
mxe-1a030bbe32dcb0f6a5af5d88ff769c495719ccd4.tar.bz2
hdf4: Enable on i686-w64-mingw32
This was the last package only supported by MinGW 32. Yay! See #492. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/hdf4.mk')
-rw-r--r--src/hdf4.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hdf4.mk b/src/hdf4.mk
index 08be205..48c1e2c 100644
--- a/src/hdf4.mk
+++ b/src/hdf4.mk
@@ -27,7 +27,7 @@ define $(PKG)_BUILD
--disable-fortran \
--disable-netcdf \
--prefix='$(PREFIX)/$(TARGET)' \
- CPPFLAGS="-DH4_F77_FUNC\(name,NAME\)=NAME"
+ CPPFLAGS="-DH4_F77_FUNC\(name,NAME\)=NAME -DH4_BUILT_AS_STATIC_LIB=1"
$(MAKE) -C '$(1)'/hdf/src -j '$(JOBS)'
$(MAKE) -C '$(1)'/hdf/src -j 1 install
$(MAKE) -C '$(1)'/mfhdf/libsrc -j '$(JOBS)'
@@ -35,6 +35,5 @@ define $(PKG)_BUILD
endef
$(PKG)_BUILD_x86_64-w64-mingw32 =
-$(PKG)_BUILD_i686-w64-mingw32 =
$(PKG)_BUILD_SHARED =