tests: automake: keep the libs link at the final stage

Currently the static archive libdrmtest.la links against libdrm.la.
Only to have both added to the executables' LDADD. Simplify things a
bit, by doing the link in the final module (the executables/tests in
this case).

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
main
Emil Velikov 2015-02-25 13:00:08 +00:00
parent f5b7a1d2da
commit b374a59e0e
1 changed files with 2 additions and 3 deletions

View File

@ -39,11 +39,10 @@ libdrmtest_la_SOURCES = \
drmtest.c \ drmtest.c \
drmtest.h drmtest.h
libdrmtest_la_LIBADD = \ LDADD += \
$(top_builddir)/libdrm.la \ libdrmtest.la \
$(LIBUDEV_LIBS) $(LIBUDEV_LIBS)
LDADD += libdrmtest.la
XFAIL_TESTS = \ XFAIL_TESTS = \
auth \ auth \