]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib/colors: fix test compilation
authorKarel Zak <kzak@redhat.com>
Tue, 30 May 2017 23:29:25 +0000 (01:29 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 30 May 2017 23:29:25 +0000 (01:29 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/Makemodule.am

index 7a018f51621dbe29bec970e3d01d30d364fdf887..8909f92e6af91ad8cc40bdc6128a1e7e1f6d4c27 100644 (file)
@@ -113,8 +113,8 @@ test_strutils_SOURCES = lib/strutils.c
 test_strutils_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_STRUTILS
 
 test_colors_SOURCES = lib/colors.c lib/color-names.c
-test_colors_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_COLORS $(TINFO_CFLAGS)
-test_colors_LDADD = $(LDADD) $(TINFO_LIBS)
+test_colors_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_COLORS
+test_colors_LDADD = $(LDADD) libtcolors.la
 
 test_randutils_SOURCES = lib/randutils.c
 test_randutils_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_RANDUTILS