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. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"