summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorluckyhacky <github@mail.my-cp.de>2015-06-14 21:15:05 (GMT)
committerluckyhacky <github@mail.my-cp.de>2015-06-14 21:15:05 (GMT)
commit6d881b77363fdc06a5ebf878d577bb8ce1603a6d (patch)
treeb07f8e235a707de6ed4bf844cb71920033706f68 /src
parent745eb5365e16fddf90c4492bea98726838688f71 (diff)
downloadmxe-6d881b77363fdc06a5ebf878d577bb8ce1603a6d.zip
mxe-6d881b77363fdc06a5ebf878d577bb8ce1603a6d.tar.gz
mxe-6d881b77363fdc06a5ebf878d577bb8ce1603a6d.tar.bz2
fixes hdf4 compilation due to missing -lportablexdr for non-static builds introduced with last fix
Diffstat (limited to 'src')
-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