Use configure.ldflags-delete instead of configure.ldflags?

Anders F Björklund afb at
Fri Mar 18 02:26:32 PDT 2011

Ryan Schmidt wrote:

> On Mar 16, 2011, at 04:47, Rainer Müller wrote:
>> On 03/15/2011 02:13 AM, Ryan Schmidt wrote:
>>>> How about the addition of "-Xlinker -headerpad_max_install_names" as a
>>>> default in portconfigure.tcl? Would macport consider it?
>>> We could consider that. I wonder if there are any negative implications for any ports? Have you already been trying this on many ports, with positive results?
>> Wouldn't this give the wrong impression that libraries are relocatable?
>> This might be true for some of them, but definitely not for all.
> Can you give an example of a library that would not be relocatable?

The usual examples are the ones that dlopen others with absolute paths,
or try to read configuration or resources from a hardcoded location...

But there are numerous libraries using build-time rather than run-time
configuration. And things like @executable_path don't work as strings


More information about the macports-dev mailing list