1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Description: Ensure lib is linked against hdf5_hl.
Author: Alastair McKinstry <mckinstry@debian.org>
Bug-Debian: http://bugs.debian.org/658310
Last-Updated: 2012-09-15
Forwarded: no
Index: hdf-eos5-5.1.16.dfsg.1/samples/Makefile.am
===================================================================
--- hdf-eos5-5.1.16.dfsg.1.orig/samples/Makefile.am
+++ hdf-eos5-5.1.16.dfsg.1/samples/Makefile.am
@@ -7,7 +7,7 @@ include $(top_srcdir)/config/include.am
# Link against GCTP library and HDF-EOS5
INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/gctp/include
-LDADD=$(LIBHDFEOS5) $(LIBGCTP)
+LDADD=$(LIBHDFEOS5) -lgctp -lhdf5_hl
# The sample programs to be built when the user types 'make check'
check_PROGRAMS=he5_gd_datainfo he5_gd_defexternalfld he5_gd_definefields \
Index: hdf-eos5-5.1.16.dfsg.1/src/Makefile.am
===================================================================
--- hdf-eos5-5.1.16.dfsg.1.orig/src/Makefile.am
+++ hdf-eos5-5.1.16.dfsg.1/src/Makefile.am
@@ -11,6 +11,7 @@ INCLUDES=-I$(top_srcdir)/include/
# Set LDFLAGS to allow the HDF-EOS library to use extern variables from
# HDF5
LDFLAGS+= -shrext .so
+LIBS= -lgctp -lhdf5_hl -lhdf5 -lm
# Build HDF-EOS5
lib_LTLIBRARIES=libhe5_hdfeos.la
|