[swift-users] Package Manager: Link to a static library.

Evtim Papushev e.papushev at me.com
Wed Oct 11 06:23:36 CDT 2017


Thanks, but that would not work. Those static library files are not in /usr/lib nor /usr/local/lib. They are part of the package I’m trying to link against.

So, swift build checkouts the repo. Then it should link them from it.

Best,
Evtim

> On Oct 11, 2017, at 13:49, Fred Appelman <fred at appelman.net> wrote:
> 
> swift build -Xlinker "-L/usr/local/lib"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20171011/8f585362/attachment.html>


More information about the swift-users mailing list