Thanks for the quick reply…

On 1/16/19 0:35 , Ryan Schmidt wrote:
> Sounds like apxs doesn't like the -arch flag, so don't pass that to it. Maybe 
> using "-Wl,-arch,x86_64" instead of "-arch x86_64" is what you need. Or maybe 
> you don't need an -arch flag at all.
Been doing some trial'n'error here, but I think I've got it to work now. :)

This: build.args LDFLAGS=-L${prefix}/lib
…or: build.args LDFLAGS="-L${prefix}/lib -Wl,-arch,x86_64"

Both works, but neither one works with: -headerpad_max_install_names
(The original line: -L/opt/local/lib -Wl,-headerpad_max_install_names -arch 
x86_64)

Anything to worry about? Isn't that one something about names on OS X (from
quick web search)?


> Please don't attempt to make the Portfile use gcc. We want to use clang.
No, I won't. :)

· Eric

Reply via email to