[swift-users] location of modules?

Max Howell max.howell at apple.com
Wed Feb 3 17:20:31 CST 2016


> On Feb 3, 2016, at 3:19 PM, Max Howell <max.howell at apple.com> wrote:
> 
>> This is more for the Linux side of things, more of a curiosity than anything.
>> 
>> Is there a place to put module maps and Swift modules, such as /usr/lib/modules? Or would they be kept in /usr/include?
> 
> The .swiftmodule and .so files should go in the standard include path:
> 
>     /usr/include/foo.swiftmodule
>     /usr/include/foo.so
> 
> Or the compile toolchain won’t find them.

Sorry, this should in fact be:

>     /usr/include/foo.swiftmodule
>     /usr/lib/foo.so




More information about the swift-users mailing list