summaryrefslogtreecommitdiffstats
path: root/src/hdf4.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-06-19 00:59:38 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-06-19 00:59:38 (GMT)
commit2d380e3c28118bde8c1df6b6a32516ede23802cd (patch)
tree38577691d4e4fe78c5765095aecc3089b48db19d /src/hdf4.mk
parentd8a63138ff07db5483c04165b8605680a6247024 (diff)
parent6d881b77363fdc06a5ebf878d577bb8ce1603a6d (diff)
downloadmxe-2d380e3c28118bde8c1df6b6a32516ede23802cd.zip
mxe-2d380e3c28118bde8c1df6b6a32516ede23802cd.tar.gz
mxe-2d380e3c28118bde8c1df6b6a32516ede23802cd.tar.bz2
Merge pull request #713 from luckyhacky/fixhdf4
fixes hdf4 compilation due to missing -lportablexdr for non-static builds introduced with last fix
Diffstat (limited to 'src/hdf4.mk')
-rw-r--r--src/hdf4.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdf4.mk b/src/hdf4.mk
index c8a361a..49e864e 100644
--- a/src/hdf4.mk
+++ b/src/hdf4.mk
@@ -27,7 +27,7 @@ define $(PKG)_BUILD
AR='$(TARGET)-ar' \
$(if $(BUILD_SHARED), \
LIBS="-lportablexdr -lws2_32" CPPFLAGS="-DH4_F77_FUNC\(name,NAME\)=NAME -DH4_BUILT_AS_DYNAMIC_LIB=1 -DBIG_LONGS", \
- CPPFLAGS="-DH4_F77_FUNC\(name,NAME\)=NAME -DH4_BUILT_AS_STATIC_LIB=1")
+ LIBS="-lportablexdr -lws2_32" CPPFLAGS="-DH4_F77_FUNC\(name,NAME\)=NAME -DH4_BUILT_AS_STATIC_LIB=1")
$(MAKE) -C '$(1)'/mfhdf/xdr -j '$(JOBS)' \
LDFLAGS=-no-undefined