Re: [swift-corelibs-dev] NSURLSession & libcurl

2016-03-23 Thread Daniel Eggert via swift-corelibs-dev
I've created this pull request in an attempt to get more feedback on my approach. I hope this is in line with the contribution guidelines. https://github.com/apple/swift-corelibs-foundation/pull/299 This is will work-in-progress and marked as such. /Daniel _

Re: [swift-corelibs-dev] NSURLSession & libcurl

2016-03-23 Thread Daniel Eggert via swift-corelibs-dev
> On 23 Mar 2016, at 14:44, Philippe Hausler 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 t

Re: [swift-corelibs-dev] NSURLSession & libcurl

2016-03-23 Thread Philippe Hausler via swift-corelibs-dev
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.

Re: [swift-corelibs-dev] NSURLSession & libcurl

2016-03-23 Thread Daniel Eggert via swift-corelibs-dev
> On 14 Mar 2016, at 18:29, Robert Stephen Thompson > wrote: > > Just a couple of tips based on my experience wrapping libxml2 for > NSXMLDocument: > 1. You’ll need to actually import and link libcurl with CoreFoundation > instead of trying to make a libcurl module.modulemap and importing it