Compiling sox with "-headerpad_max_install_names"
Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Fri Feb 4 15:10:42 PST 2011
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?
Thanks alot in adavance,
Adrian
More information about the macports-dev
mailing list