Re: [swift-dev] Issues linking a C library module using swift build

2015-12-14 Thread Valentin Radu via swift-dev
Sure: Cloning into '/Users/valentinradu/Playgrounds/April/Packages/libcfcgi'... warning: --depth is ignored in local clones; use file:// instead. done. /Library/Developer/Toolchains/swift-2.2-SNAPSHOT-2015-12-01-a.xctoolchain/usr/bin/swiftc -module-name April -incremental -emit-dependencies -emit

Re: [swift-dev] Issues linking a C library module using swift build

2015-12-14 Thread Max Howell via swift-dev
Can you post the output from: `swift build --clean && swift build -v`, thanks. > On Dec 14, 2015, at 4:30 PM, Valentin Radu via swift-dev > wrote: > > Hello all, > > > I’m having some strange issues on osx when trying to link a C library module. > I’ve successfully did this before with anoth

Re: [swift-dev] Issues linking a C library module using swift build

2015-12-14 Thread Valentin Radu via swift-dev
Auch, sorry, wrong list. Will repost in users. > On Tue 15 Dec, 15, at 02:30, Valentin Radu via swift-dev > wrote: > > Hello all, > > > I’m having some strange issues on osx when trying to link a C library module. > I’ve successfully did this before with another library, however, for some >

[swift-dev] Issues linking a C library module using swift build

2015-12-14 Thread Valentin Radu via swift-dev
Hello all, I’m having some strange issues on osx when trying to link a C library module. I’ve successfully did this before with another library, however, for some reason this one doesn’t work. My module map looks like this: module CFCGI [system] { header "/usr/local/include/cfcgi/cfcgi.h"