[swift-users] Swift Package Manager: Linker Flags

Max Howell max.howell at apple.com
Fri Feb 26 15:45:34 CST 2016


>> 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?

Provided that the module map file specifies link “LLVMCore” then yes, you should not need to do this. If you do, then it’s a bug.

Try running `swift build -vv` to get full instantiation information.


More information about the swift-users mailing list