The function now accepts two arguments, but not one. The second argument
is the main plugin target that the object library belongs to. It's used
to keep the set of flag-controlling properties consistent between
object library and plugin.
Change-Id: I695c613a70e56bf99cf1efabc3288fb720d10e66
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>