> On 23 Mar 2016, at 14:44, Philippe Hausler <phaus...@apple.com> wrote:
> 
> The swift-corelibs-foundation version of CF is a static library that is being 
> built into the Foundation product dynamic library so the linkage for libxml2 
> and anything else should be on that.
> 
> The layout of how linking works for the Darwin version is different because 
> of how we split the layers. NSXMLParser is based on libxml2 in objc. It just 
> does not need a CF abstraction/thunks to convert types.

Looking at the swift-corelibs-foundation Xcode project, the "Link Binary With 
Libraries" is empty for the CoreFoundation target, while it contains libxml2 
for the SwiftFoundation target.

I'd do the same for libcurl.

/Daniel

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Reply via email to