hdf5/hdf5-LD_LIBRARY_PATH.patch
Atri Bhattacharya 1d8bf0ac15 Accepting request 992096 from home:badshah400:hdf5
- Update to version 1.12.2
- Minor re-base of existing patches to apply cleanly:
- Drop upstreamed patch: hdf5-1.10.8-pr1494-fix-release-check-version.patch.

OBS-URL: https://build.opensuse.org/request/show/992096
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=155
2022-08-11 19:19:20 +00:00

23 lines
1.2 KiB
Diff

Index: hdf5-1.12.2/src/Makefile.in
===================================================================
--- hdf5-1.12.2.orig/src/Makefile.in
+++ hdf5-1.12.2/src/Makefile.in
@@ -1998,8 +1998,6 @@ help:
# Remove the generated .c file if errors occur unless HDF5_Make_Ignore
# is set to ignore the error.
H5Tinit.c: H5detect$(EXEEXT)
- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
- sed -e 's/-L/:/g' -e 's/ //g'`" \
$(RUNSERIAL) ./H5detect$(EXEEXT) $@ || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
($(RM) $@ ; exit 1)
@@ -2010,8 +2008,6 @@ H5Tinit.c: H5detect$(EXEEXT)
# Remove the generated .c file if errors occur unless HDF5_Make_Ignore
# is set to ignore the error.
H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings
- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
- sed -e 's/-L/:/g' -e 's/ //g'`" \
$(RUNSERIAL) ./H5make_libsettings$(EXEEXT) $@ || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
($(RM) $@ ; exit 1)