Author: Alastair McKinstry <mckinstry@debian.org>
Description: Fix to  build shared library correctly on Debian.
Last-Updated: 2012-01-09
Forwarded: no

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
@@ -10,7 +10,7 @@ INCLUDES=-I$(top_srcdir)/include/
 
 # Set LDFLAGS to allow the HDF-EOS library to use extern variables from
 # HDF5
-LDFLAGS=-Wl,-single_module
+LDFLAGS+= -shrext .so 
 
 # Build HDF-EOS5
 lib_LTLIBRARIES=libhe5_hdfeos.la
