]> git.ipfire.org Git - thirdparty/dbus.git/commit
build: Link subprojects statically if built as a subproject
authorSimon McVittie <smcv@collabora.com>
Fri, 28 Feb 2025 12:31:01 +0000 (12:31 +0000)
committerSimon McVittie <smcv@collabora.com>
Fri, 28 Feb 2025 13:03:07 +0000 (13:03 +0000)
commit57abac5bc890292c1d60c6df6ebef5987c2cbef2
tree736de36786a50a4a32528fc672ddcbe4ddf468db
parent3ca6a3fec49cc39ed18a7bed0afe28685dca10de
build: Link subprojects statically if built as a subproject

If we're building a dependency as a fallback subproject, we don't want
to be responsible for installing it as a shared library. Anyone wanting
shared libraries should install the dependencies separately.

Ideally we'd do this with MSVC too, but that doesn't currently link
successfully (dbus#549).

Signed-off-by: Simon McVittie <smcv@collabora.com>
meson.build