1 Make shared library linking work.
3 src/Makefile.in | 5 +----
4 1 file changed, 1 insertion(+), 4 deletions(-)
6 diff --git a/src/Makefile.in b/src/Makefile.in
7 index 86880e5..24efffe 100644
10 @@ -72,7 +72,7 @@ LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
11 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
12 $(AM_CFLAGS) $(CFLAGS) -DH5_USE_16_API
14 -LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
15 +LINK = HDF5_USE_SHLIB=yes $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
16 $(AM_LDFLAGS) $(LDFLAGS) -o $@
17 SOURCES = $(libhe5_hdfeos_la_SOURCES)
18 DIST_SOURCES = $(libhe5_hdfeos_la_SOURCES)
19 @@ -124,9 +124,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
20 INSTALL_SCRIPT = @INSTALL_SCRIPT@
21 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
23 -# Set LDFLAGS to allow the HDF-EOS library to use extern variables from
25 -LDFLAGS = -Wl,-single_module