1
0

120-strip-unsafe-dirs-for-relinking.patch 1.1 KB

123456789101112131415161718192021222324
  1. --- a/libltdl/config/ltmain.m4sh
  2. +++ b/libltdl/config/ltmain.m4sh
  3. @@ -2183,6 +2183,9 @@ func_mode_install ()
  4. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
  5. fi
  6. + relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/lib[^[:space:]]*%%"`
  7. + relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/usr/lib[^[:space:]]*%%"`
  8. +
  9. func_warning "relinking \`$file'"
  10. func_show_eval "$relink_command" \
  11. 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
  12. --- a/libltdl/config/ltmain.sh
  13. +++ b/libltdl/config/ltmain.sh
  14. @@ -2972,6 +2972,9 @@ func_mode_install ()
  15. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
  16. fi
  17. + relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/lib[^[:space:]]*%%"`
  18. + relink_command=`$ECHO "$relink_command" | $SED "s%-L[[:space:]]*/usr/lib[^[:space:]]*%%"`
  19. +
  20. func_warning "relinking \`$file'"
  21. func_show_eval "$relink_command" \
  22. 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'