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:
parent
2eb527722a
commit
498f910eeb
|
@ -252,8 +252,9 @@ test_logindefs_SOURCES = \
|
||||||
login-utils/logindefs.c \
|
login-utils/logindefs.c \
|
||||||
login-utils/logindefs.h
|
login-utils/logindefs.h
|
||||||
test_logindefs_CPPFLAGS = -DTEST_PROGRAM $(AM_CPPFLAGS)
|
test_logindefs_CPPFLAGS = -DTEST_PROGRAM $(AM_CPPFLAGS)
|
||||||
|
test_logindefs_LDADD = $(LDADD) libcommon.la
|
||||||
if HAVE_ECONF
|
if HAVE_ECONF
|
||||||
test_logindefs_LDADD = -leconf
|
test_logindefs_LDADD += -leconf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue