Wow, that works :-) Updated the repo.
However, when the system module is missing, I still get "header not found"
errors instead of the suggestion of installing the package via brew.
BTW: It may be nice if you could update your blog post to get rid of the
absolute path in the modulemap as well:
In tls+Swift.h, you already have included the tls.h so you shouldn't need to
specify this line `header "/usr/local/opt/libressl/include/tls.h"` at all in
the modulemap.
> On 29-Dec-2016, at 1:18 AM, Etan Kissling via swift-users
> wrote:
>
> Addition:
>
> Example system module as I have it n
Addition:
Example system module as I have it now:
https://github.com/Scriptreactor/SwiftCTLS
I'd like to get rid of the absolute path in the module.modulemap's "header"
directive and have it instead use pkgConfig values.
> On 28 Dec 2016, at 17:12, Etan Kissling via swift-users
> wrote:
>
Hi,
before Swift 3, for System Modules to work, these steps were necessary:
1. Creating module map
2. Creating System Module package
3. Creating git repo for System Module package, tagging with version
4. Referencing the System Module package from main package
5. Adding -Xcc -I and -Xlinker -L fla