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.