]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: fix building logger
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>
Tue, 7 Sep 2021 22:58:16 +0000 (18:58 -0400)
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>
Tue, 7 Sep 2021 22:58:16 +0000 (18:58 -0400)
meson.build

index cda4ce0c526119ccdd2282e523adee39187ba336..c1fdce8136cd693013941d3e87b13ebba79dba77 100644 (file)
@@ -2245,6 +2245,7 @@ exe = executable(
   'logger',
   logger_sources,
   include_directories : includes,
+  link_with : [lib_common],
   dependencies : [lib_systemd],
   install_dir : usrbin_exec_dir,
   install : opt,
@@ -2259,6 +2260,7 @@ exe = executable(
   logger_sources,
   include_directories : includes,
   c_args : '-DTEST_LOGGER',
+  link_with : [lib_common],
   dependencies : [lib_systemd])
 if not is_disabler(exe)
   exes += exe