Currently Meson complains with with ERROR: Swift supports only executable and static library targets when attempting to build a dynamic library target with swiftc.
swiftc of course supports outputting dynamic libraries - it's even the default option when using -emit-library, making static libraries requires adding the -static flag as well.
Would be nice to get rid of this strange limitation.
Currently Meson complains with with
ERROR: Swift supports only executable and static library targets
when attempting to build a dynamic library target withswiftc
.swiftc
of course supports outputting dynamic libraries - it's even the default option when using-emit-library
, making static libraries requires adding the-static
flag as well.Would be nice to get rid of this strange limitation.