]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: link lib_common to test_procfs
authorMasatake YAMATO <yamato@redhat.com>
Sun, 10 Oct 2021 08:01:40 +0000 (17:01 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Mon, 11 Oct 2021 22:25:14 +0000 (07:25 +0900)
Suggested by Thomas Weißschuh at
https://github.com/karelzak/util-linux/pull/1418#pullrequestreview-775639562

meson.build

index 378c3431a3596fa27ee09f40e314ff3ed2bb2607..c183a276bc27305529dcd7a95f427bbb8c60a21d 100644 (file)
@@ -2688,7 +2688,8 @@ exe = executable(
   'test_procfs',
   'lib/procfs.c',
   c_args : ['-DTEST_PROGRAM_PROCFS'],
-  include_directories : dir_include)
+  include_directories : dir_include,
+  link_with : lib_common)
 exes += exe
 
 # XXX: HAVE_OPENAT && HAVE_DIRFD