110-no_rpath.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132
  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. Index: libtool-1.5.10/libtool.m4
  7. ===================================================================
  8. --- libtool-1.5.10.orig/libtool.m4 2007-05-27 23:31:51.000000000 +0200
  9. +++ libtool-1.5.10/libtool.m4 2007-05-27 23:50:26.000000000 +0200
  10. @@ -4244,16 +4244,16 @@
  11. hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
  12. # Whether we should hardcode library paths into libraries.
  13. -hardcode_into_libs=$hardcode_into_libs
  14. +hardcode_into_libs=no
  15. # Flag to hardcode \$libdir into a binary during linking.
  16. # This must work even if \$libdir does not exist.
  17. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
  18. +hardcode_libdir_flag_spec=
  19. # If ld is used when linking, flag to hardcode \$libdir into
  20. # a binary during linking. This must work even if \$libdir does
  21. # not exist.
  22. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
  23. +hardcode_libdir_flag_spec_ld=
  24. # Whether we need a single -rpath flag with a separated argument.
  25. hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)