]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: test_scols_termreduce needs libsmartcols
authorAdam Sampson <ats@offog.org>
Mon, 18 May 2026 13:41:40 +0000 (14:41 +0100)
committerAdam Sampson <ats@offog.org>
Mon, 18 May 2026 13:48:17 +0000 (14:48 +0100)
This helper needs libsmartcols, so it can't be built if util-linux is
configured with --disable-libsmartcols. (It's still reasonable to want
to run the test suite in this case, for example if you're configuring
util-linux to only build libuuid.)

Signed-off-by: Adam Sampson <ats@offog.org>
tests/helpers/Makemodule.am

index c5033f3b84eeea7d40899ed033e6f9b16a96f6bf..e12784968c93add3e41775250c0d1dcf20b543b2 100644 (file)
@@ -1,8 +1,10 @@
+if BUILD_LIBSMARTCOLS
 if !OSS_FUZZ
 check_PROGRAMS += test_scols_termreduce
 test_scols_termreduce_SOURCES = tests/helpers/test_scols_termreduce.c
 test_scols_termreduce_LDADD = $(LDADD) libsmartcols.la
 endif
+endif
 
 check_PROGRAMS += test_mbsencode
 test_mbsencode_SOURCES = tests/helpers/test_mbsencode.c