File: no-rpath.patch

package info (click to toggle)
hdf5 1.14.5%2Brepack-3.1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 208,864 kB
  • sloc: ansic: 715,772; f90: 42,941; java: 38,102; sh: 30,925; xml: 18,706; cpp: 18,011; makefile: 2,423; perl: 2,383; yacc: 332; python: 262; javascript: 203; lex: 157; ruby: 24; csh: 22
file content (41 lines) | stat: -rw-r--r-- 1,657 bytes parent folder | download | duplicates (2)
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
32
33
34
35
36
37
38
39
40
41
Description: drop rpath flags from h5cc et al commands
 See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023446#22
Index: hdf5/bin/h5cc.in
===================================================================
--- hdf5.orig/bin/h5cc.in
+++ hdf5/bin/h5cc.in
@@ -329,7 +329,7 @@ if test "x$do_link" = "xyes"; then
         # It appears to want none of them specified.
         case "$host_os" in
           darwin*)          flag="" ;;
-          *)                flag="-Wl,-rpath -Wl," ;;
+          *)                flag="" ;;
         esac
         ;;
       hpux*)                flag="-Wl,+b -Wl," ;;
Index: hdf5/c++/src/h5c++.in
===================================================================
--- hdf5.orig/c++/src/h5c++.in
+++ hdf5/c++/src/h5c++.in
@@ -314,7 +314,7 @@ if test "x$do_link" = "xyes"; then
         # It appears to want none of them specified.
         case "$host_os" in
           darwin*)          flag="" ;;
-          *)                flag="-Wl,-rpath -Wl," ;;
+          *)                flag="" ;;
         esac
         ;;
       hpux*)                flag="-Wl,+b -Wl," ;;
Index: hdf5/fortran/src/h5fc.in
===================================================================
--- hdf5.orig/fortran/src/h5fc.in
+++ hdf5/fortran/src/h5fc.in
@@ -305,7 +305,7 @@ if test "x$do_link" = "xyes"; then
 
   if test "x$USE_SHARED_LIB" = "xyes"; then
     case "$host_os" in
-      linux*)               flag="@fortran_linux_linker_option@-rpath -Wl," ;;
+      linux*)               flag="" ;;
       hpux*)                flag="-Wl,+b -Wl," ;;
       freebsd*|solaris*)    flag="-R" ;;
       rs6000*|aix*)         flag="-L" ;;