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
_
> 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
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.
> 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