build-sys: add $LDADD and libcommon to test_logindefs_LDADD

Addresses: https://travis-ci.org/github/karelzak/util-linux/jobs/690915120
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2020-05-26 11:43:07 +02:00
parent 2eb527722a
commit 498f910eeb
1 changed files with 2 additions and 1 deletions

View 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