Flags for linker/compilator when using MERGED_BINARY_TYPE

With xcode 15 it became possible to use mergeable libraries. To do this, use the MERGED_BINARY_TYPE parameter in the build settings.

Please advise, is it possible to get a mergeable library by passing flags to the linker/compiler when building a dynamic library? Because we don't use xcode in this process