meson: fix compilation of libsystemd

It uses libsystemd_journal_internal_sources, so we need to
make sure that audit_type-to-name.h is generated early enough.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-04-10 17:35:21 -04:00
parent 826472ce36
commit 09cef4e7cc

View File

@@ -45,12 +45,13 @@ audit_type_to_name = custom_target(
command : [awk, '-f', '@INPUT0@', '@INPUT1@'],
capture : true)
libsystemd_journal_internal_sources += [audit_type_to_name]
############################################################
libsystemd_journal_internal = static_library(
'systemd-journal-internal',
libsystemd_journal_internal_sources,
audit_type_to_name,
gcrypt_util_sources,
install : false,
include_directories : includes,