<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 6 Nov 2016, at 15:13, Vadim Shpakovski wrote:</p>
<p dir="auto"></p></div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">Apparently that another Mac does not have capnp and kj in /usr/local/lib/.<br>
Maybe you can hint why these dylibs are linked and why the paths are absolute? 🙏</p>
</blockquote></div>
<div style="white-space:normal">
<p dir="auto">They are linked because they are needed :)</p>
<p dir="auto">Unfortunately clang does not allow one to specify “prefer static library over dynamic library” (as gcc’s linker does), and <em>currently</em> TextMate’s build system uses <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">-lcapnp -lkj</code> to link these libraries (the alternative is to use <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">/path/to/libcapnp.a</code> to ensure the static version is linked, but then the build system must know where the user has the static library installed, and asserts that they indeed does have the static library).</p>
<p dir="auto">I have an updated build system that does do the direct path linking which I’ll push to <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">master</code> shortly, this should solve this issue.</p>
</div>
</div>
</body>
</html>