File: libtool_fixes.patch

package info (click to toggle)
hdf-eos5 2%3A2.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,692 kB
  • sloc: ansic: 92,051; fortran: 31,463; sh: 11,395; makefile: 492
file content (16 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Fix to  build shared library correctly on Debian.
Last-Updated: 2012-01-09
Forwarded: no

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,7 +10,7 @@
 
 # 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