110-no_rpath.patch 1.1 KB

123456789101112131415161718192021222324252627282930
  1. Well, brute force to disable rpath.
  2. Only
  3. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
  4. +#hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
  5. should be necessary....
  6. --- a/libtool.m4
  7. +++ b/libtool.m4
  8. @@ -4601,16 +4601,16 @@ shlibpath_overrides_runpath=$shlibpath_o
  9. hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
  10. # Whether we should hardcode library paths into libraries.
  11. -hardcode_into_libs=$hardcode_into_libs
  12. +hardcode_into_libs=no
  13. # Flag to hardcode \$libdir into a binary during linking.
  14. # This must work even if \$libdir does not exist.
  15. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
  16. +hardcode_libdir_flag_spec=
  17. # If ld is used when linking, flag to hardcode \$libdir into
  18. # a binary during linking. This must work even if \$libdir does
  19. # not exist.
  20. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
  21. +hardcode_libdir_flag_spec_ld=
  22. # Whether we need a single -rpath flag with a separated argument.
  23. hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)