From e51699b7cdd3b977ecfe3851057026b7b8a87d68 Mon Sep 17 00:00:00 2001 From: Harish Krupo Date: Sun, 26 Nov 2017 05:41:43 +0530 Subject: [PATCH] Makefile: Remove unneeded LDADDs The LDADD for libhwcomposer_{common,wsi} is not needed as it is already linked into libhwcomposer.so in the linker flags as whole archives. Adding this causes "multiple definition" errors during linking. Signed-off-by: Harish Krupo --- Makefile.am | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index e4c61db..466a973 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,8 +40,6 @@ libhwcomposer_la_LIBADD = \ $(DRM_LIBS) \ $(GBM_LIBS) \ $(EGL_LIBS) \ - $(top_builddir)/common/libhwcomposer_common.la \ - $(top_builddir)/wsi/libhwcomposer_wsi.la \ -lm libhwcomposer_la_LTLIBRARIES = libhwcomposer.la -- 2.11.0