From 845ae38c02354ce37999e883faeeb643bf470cfc Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 9 Mar 2014 22:18:50 +1100 Subject: [PATCH] Revert "package hdf5: remove libtool workaround (actually a pthreads build issue)" This reverts commit 698f49c14abe3af1e1a6de056d08bc2430ec0c27. --- src/hdf5.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hdf5.mk b/src/hdf5.mk index 6069e920..ea765b9c 100644 --- a/src/hdf5.mk +++ b/src/hdf5.mk @@ -33,6 +33,9 @@ define $(PKG)_BUILD -DHAVE_WINDOWS_PATH \ -DH5_BUILT_AS_$(if $(BUILD_STATIC),STATIC,DYNAMIC)_LIB' + # libtool is somehow created to effectively disallow shared builds + $(SED) -i 's,allow_undefined_flag="unsupported",allow_undefined_flag="",g' '$(1)/libtool' + # These programs need to be executed on host to create # H5lib_settings.c and H5Tinit.c for f in H5detect.exe H5make_libsettings.exe libhdf5.settings; do \