Compiling sox with "-headerpad_max_install_names"

Joshua Root jmr at macports.org
Fri Feb 4 15:23:52 PST 2011


On 2011-2-5 10:10 , Adrian Glaubitz wrote:
> 
> On Feb 4, 2011, at 8:23 PM, Joshua Root wrote:
> 
>>> I have had the same problem with ffmpeg before and I could fix it by adding
>>> "-headerpad_max_install_names" in the configure options of ffmpeg. However,
>>> the configure script does not know anything about this option.
>>
>> This is an option for ld, so configure scripts usually wouldn't know
>> about it. Try configure.ldflags.
> 
> Hmm, configure.ldflags isn't recognized as an option in the portfile. I was
> trying to add both the following:
> 
> configure.ldflags --extra-ldflags=-headerpad_max_install_names
> 
> build.env        ${configure.env} LDFLAGS+=-headerpad_max_install_names
> 
> Neither of them works unfortunately. Do you know the verbatim line I would
> have to add to the portfile?

configure.ldflags-append -headerpad_max_install_names

- Josh


More information about the macports-dev mailing list