]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build: link test_pager against libcommon
authorYuriyRyabikov <22548029+kurok@users.noreply.github.com>
Fri, 13 Mar 2026 17:37:27 +0000 (17:37 +0000)
committerYuriyRyabikov <22548029+kurok@users.noreply.github.com>
Fri, 13 Mar 2026 17:37:27 +0000 (17:37 +0000)
pager.c now uses ul_strfconcat() from strutils.c, so the
test_pager binary needs libcommon.la to resolve the symbol.

lib/Makemodule.am

index 5a2e9a9074c89e7a013796b50a74dfd25bbc8464..5284331fe50243047104c296f4fb70d499d5a367 100644 (file)
@@ -195,6 +195,7 @@ test_procfs_LDADD = $(LDADD) libcommon.la
 
 test_pager_SOURCES = lib/pager.c
 test_pager_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_PAGER
+test_pager_LDADD = $(LDADD) libcommon.la
 
 test_linux_version_SOURCES = lib/linux_version.c
 test_linux_version_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_LINUXVERSION