[SwiftPM] Build system module package to .a/.dylib?


(Richard Wei) #1

Hi,

Is there a way to build a system module package into a static/dynamic library, so that a Swift script can link against this library to find the module? Adding library products to Package.swift doesn’t seem to work.

Thanks,
Richard