How to configure a native binary library to only be one of shared or static, not both?


(Steven Walters) #1

I’m trying to figure out a way that when a declare a native library binary in a libraries {} block, I only want it to be static or shared, not both (which is the default).

Is there a way to prevent either of the static or shared variants of a library to not be generated? (trying to not generate both should obviously cause an error)

Thanks, Steven.