[TxMt] Re: Custom build from GitHub does not run on another Mac

Allan Odgaard mailinglist at textmate.org
Sun Nov 6 09:16:20 UTC 2016


On 6 Nov 2016, at 15:13, Vadim Shpakovski wrote:

> Apparently that another Mac does not have capnp and kj in 
> /usr/local/lib/.
> Maybe you can hint why these dylibs are linked and why the paths are 
> absolute? 🙏

They are linked because they are needed :)

Unfortunately clang does not allow one to specify “prefer static 
library over dynamic library” (as gcc’s linker does), and 
*currently* TextMate’s build system uses `-lcapnp -lkj` to link these 
libraries (the alternative is to use `/path/to/libcapnp.a` 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).

I have an updated build system that does do the direct path linking 
which I’ll push to `master` shortly, this should solve this issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20161106/87fdd7c8/attachment.html>


More information about the textmate mailing list