[Mesa-dev] [PATCH] automake: intel: correctly append to the LIBADD variable

Emil Velikov emil.l.velikov at gmail.com
Mon Oct 23 12:29:30 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Commit 05fc62d89f5 sets the variable, yet it forgot the update the
existing reference to append (instead of assign).

Thus as-is the expat library was discarded from the link chain when
building with Android.

Fixes: 05fc62d89f5 ("automake: intel: move expat handling where it's
used")
Cc: Hongxu Jia <hongxu.jia at windriver.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/intel/Makefile.common.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/Makefile.common.am b/src/intel/Makefile.common.am
index 894dbb5208c..443cefc522a 100644
--- a/src/intel/Makefile.common.am
+++ b/src/intel/Makefile.common.am
@@ -27,5 +27,5 @@ common_libintel_common_la_LIBADD = $(EXPAT_LIBS)
 
 if HAVE_PLATFORM_ANDROID
 common_libintel_common_la_CFLAGS += $(ANDROID_CFLAGS)
-common_libintel_common_la_LIBADD = $(ANDROID_LIBS)
+common_libintel_common_la_LIBADD += $(ANDROID_LIBS)
 endif
-- 
2.14.1



More information about the mesa-dev mailing list