meson.build: move Log.cxx and LogBackend.cxx into a static library

Prevents compiling those sources many times, once for each debug
program using it.
This commit is contained in:
Max Kellermann
2020-01-18 19:45:56 +01:00
parent bdd3167495
commit 7551867249
11 changed files with 26 additions and 61 deletions

View File

@@ -49,6 +49,7 @@ if zeroconf_option == 'bonjour'
link_with: zeroconf,
dependencies: [
bonjour_dep,
log_dep,
],
)
else
@@ -68,6 +69,7 @@ else
libavahi_client_dep,
dbus_dep,
time_dep,
log_dep,
],
)