]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: add $LDADD and libcommon to test_logindefs_LDADD
authorKarel Zak <kzak@redhat.com>
Tue, 26 May 2020 09:43:07 +0000 (11:43 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 26 May 2020 09:43:07 +0000 (11:43 +0200)
Addresses: https://travis-ci.org/github/karelzak/util-linux/jobs/690915120
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/Makemodule.am

index e3fac7e3d4107fd2a06575aaa87a3ca30300b095..4e455f66b92085fd90ec54e581961cc555107cfc 100644 (file)
@@ -252,8 +252,9 @@ test_logindefs_SOURCES = \
        login-utils/logindefs.c \
        login-utils/logindefs.h
 test_logindefs_CPPFLAGS = -DTEST_PROGRAM $(AM_CPPFLAGS)
+test_logindefs_LDADD = $(LDADD) libcommon.la
 if HAVE_ECONF
-test_logindefs_LDADD = -leconf
+test_logindefs_LDADD += -leconf
 endif