From 46ae286b9d420702d46475ca43394ee36a087dab Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 11 Mar 2014 00:01:33 +0000 Subject: [PATCH] drivers/x11: GL_LIB_DEPS is not a linker/libtool flag, add it to LIBADD Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- src/mesa/drivers/x11/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/x11/Makefile.am b/src/mesa/drivers/x11/Makefile.am index b10e86f534a..27343d15791 100644 --- a/src/mesa/drivers/x11/Makefile.am +++ b/src/mesa/drivers/x11/Makefile.am @@ -58,10 +58,11 @@ GL_PATCH = 0 lib@GL_LIB@_la_LIBADD = \ $(top_builddir)/src/mesa/libmesa.la \ - $(top_builddir)/src/mapi/glapi/libglapi.la + $(top_builddir)/src/mapi/glapi/libglapi.la \ + $(GL_LIB_DEPS) + lib@GL_LIB@_la_LDFLAGS = \ -version-number $(GL_MAJOR):$(GL_MINOR):$(GL_PATCH) \ - -no-undefined \ - $(GL_LIB_DEPS) + -no-undefined include $(top_srcdir)/install-lib-links.mk -- 2.30.2