[PATCH libdrm 5/5] tests: automake: keep the libs link at the final stage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 tests/Makefile.am | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 90f6405..f008c06 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -38,11 +38,10 @@ libdrmtest_la_SOURCES = \
 	drmtest.c \
 	drmtest.h
 
-libdrmtest_la_LIBADD = \
-	$(top_builddir)/libdrm.la \
+LDADD += \
+	libdrmtest.la \
 	$(LIBUDEV_LIBS)
 
-LDADD += libdrmtest.la
 
 XFAIL_TESTS =					\
 	auth					\
-- 
2.1.3

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux