Quoting Dag-Erling Smørgrav <[EMAIL PROTECTED]> (from Mon, 14 May 2007
13:44:37 +0200):
Alexander Leidinger <[EMAIL PROTECTED]> writes:
Isn't this a property which can be set at build time? I mean: isn't
there a $OSNAME case where this can be set for a specific OS? So it
boil down to just set those two variables accordingly in the FreeBSD
case and to send a patch to the libtool maintainers. For Linux this
isn't doable, as there are many Linux distros out there, but for
FreeBSD we can do this. But this should be tested on pointyhat first,
I think.
I'm not sure I understand your question, but libtool sets the rpath if
1) an .la file is present and 2) hardcode_into_libs is defined. The
latter happens at the configure stage, the shell code that selects the
default value is in libtool.m4:
--- libtool.m4.orig Sun Dec 18 22:53:17 2005
+++ libtool.m4 Mon May 14 13:43:46 2007
@@ -1442,7 +1442,7 @@
;;
freebsd*) # from 4.6 on
shlibpath_overrides_runpath=yes
- hardcode_into_libs=yes
+ hardcode_into_libs=no
;;
esac
;;
I've chosen not to change the default for versions older than 4.6.
If this works well, you just have to submit this patch to the libtool
maintainers and wait until all (relevant) software packages are
updated to use the libtool version which comes with this change.
Bye,
Alexander.
--
Jesuit priests are DATING CAREER DIPLOMATS!!
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"