gnu: python-babel: Update to 2.7.0.
[guix.git] / gnu / packages / patches / hdf-eos5-build-shared.patch
blobf4ae5c73e316ca0954d7f96879a5e2f0135d8e2f
1 Make shared library linking work.
2 ---
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
8 --- a/src/Makefile.in
9 +++ b/src/Makefile.in
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
13 CCLD = $(CC)
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
24 -# HDF5
25 -LDFLAGS = -Wl,-single_module
26 LIBOBJS = @LIBOBJS@
27 LIBS = @LIBS@
28 LIBTOOL = @LIBTOOL@
29 --
30 2.10.0