Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 13:44:37 +0200
From:      des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=)
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-hackers@freebsd.org, Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>, Ivan Voras <ivoras@fer.hr>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))
Message-ID:  <868xbrtysa.fsf@dwp.des.no>
In-Reply-To: <20070514131954.sqxxrk6qi8o8gwck@webmail.leidinger.net> (Alexander Leidinger's message of "Mon\, 14 May 2007 13\:19\:54 %2B0200")
References:  <200705102105.27271.blackdragon@highveldmail.co.za> <f20c8u$htp$1@sea.gmane.org> <17987.52037.112351.872442@bhuda.mired.org> <20070511015156.GA77895@xor.obsecurity.org> <86zm4b3h7h.fsf@dwp.des.no> <20070511082657.GA24652@xor.obsecurity.org> <86sla33gkm.fsf@dwp.des.no> <20070511161200.w7tzoc5mkg8og44c@webmail.leidinger.net> <86lkfru4ya.fsf@dwp.des.no> <20070514131954.sqxxrk6qi8o8gwck@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger <Alexander@Leidinger.net> 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=3Dyes
-    hardcode_into_libs=3Dyes
+    hardcode_into_libs=3Dno
     ;;
   esac
   ;;

I've chosen not to change the default for versions older than 4.6.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868xbrtysa.fsf>