]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: fix compilation of libsystemd
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 10 Apr 2017 21:35:21 +0000 (17:35 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2017 01:47:27 +0000 (21:47 -0400)
It uses libsystemd_journal_internal_sources, so we need to
make sure that audit_type-to-name.h is generated early enough.

src/journal/meson.build

index b05db85a430f38cd403bbe22e8b913fe3d4da171..f06b564c19a5fc3c208f2ae989f33a287bc14a0e 100644 (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,