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" ;;
|