[swift-users] Swift Package Manager: Linker Flags
stephen.celis at gmail.com
Tue Feb 23 19:20:25 CST 2016
> On Feb 23, 2016, at 6:43 PM, Greg Parker <gparker at apple.com> wrote:
> Did you forget to actually link to libLLVMCore? I see your -L flags in that build log, but I don't see anything like `-Xlinker -lLLVMCore`.
Huh. I was under the impression that the module map "link" declaration was applied. Is that not the case? Should it be? Should I file a bug?
I seem to be making headway, though this means my Swift target becomes even more problematic for dependent projects to use (with a rapidly growing Makefile).
> Use `nm -m` to get a readable description of symbol attributes like visibility. In this case "T" is an exported symbol in the __TEXT segment so visibility should not be a problem. If the symbol were not exported then it would be labeled "t".
Ah, much nicer. Thanks for the tip!
More information about the swift-users