<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#333333">
<p><font face="Arial">Thanks for the quick reply…</font><br>
</p>
<div class="moz-cite-prefix">On 1/16/19 0:35 , Ryan Schmidt wrote:</div>
<blockquote
cite="mid:A904B8BF-E80D-4711-887C-F7DC0BD9A931@macports.org"
type="cite">
<pre wrap="">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.</pre>
</blockquote>
Been doing some trial'n'error here, but I think I've got it to work
now. :)<br>
<br>
This: build.args LDFLAGS=-L${prefix}/lib<br>
…or: build.args LDFLAGS="-L${prefix}/lib -Wl,-arch,x86_64"<br>
<br>
Both works, but neither one works with: -headerpad_max_install_names<br>
(The original line: -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch x86_64)<br>
<br>
Anything to worry about? Isn't that one something about names on OS
X (from quick web search)?<br>
<br>
<br>
<blockquote
cite="mid:A904B8BF-E80D-4711-887C-F7DC0BD9A931@macports.org"
type="cite">
<pre wrap="">Please don't attempt to make the Portfile use gcc. We want to use clang.</pre>
</blockquote>
No, I won't. :) <br>
<blockquote
cite="mid:A904B8BF-E80D-4711-887C-F7DC0BD9A931@macports.org"
type="cite">
</blockquote>
<br>
· Eric<br>
</body>
</html>