diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-06-19 01:03:43 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-06-19 01:03:43 (GMT) |
commit | c8a847625b74fa7400202039ec911d5269748117 (patch) | |
tree | d2a6a19ad5e5e705745d07f1326174f3d3e53df9 /src | |
parent | 6fccb465eb8c0b91ec47bca2a6bc41121e22c28b (diff) | |
download | mxe-c8a847625b74fa7400202039ec911d5269748117.zip mxe-c8a847625b74fa7400202039ec911d5269748117.tar.gz mxe-c8a847625b74fa7400202039ec911d5269748117.tar.bz2 |
hdf4: Simplify
Diffstat (limited to 'src')
-rw-r--r-- | src/hdf4.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hdf4.mk b/src/hdf4.mk index 3e37670..93a7d83 100644 --- a/src/hdf4.mk +++ b/src/hdf4.mk @@ -25,9 +25,10 @@ define $(PKG)_BUILD --disable-fortran \ --disable-netcdf \ AR='$(TARGET)-ar' \ + LIBS="-lportablexdr -lws2_32" \ $(if $(BUILD_SHARED), \ - LIBS="-lportablexdr -lws2_32" CPPFLAGS="-DH4_F77_FUNC\(name,NAME\)=NAME -DH4_BUILT_AS_DYNAMIC_LIB=1 -DBIG_LONGS", \ - LIBS="-lportablexdr -lws2_32" CPPFLAGS="-DH4_F77_FUNC\(name,NAME\)=NAME -DH4_BUILT_AS_STATIC_LIB=1") + 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") $(MAKE) -C '$(1)'/mfhdf/xdr -j '$(JOBS)' \ LDFLAGS=-no-undefined |