From d187a150d45cbf5bd3476eab49be5057382c2c86 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 13 Mar 2014 05:44:33 +0000 Subject: automake: add -Wl,--no-undefined to all libraries ... apart from the dri drivers. With this final change we can build mesa without fear that the resulting libraries will have unresolved symbols. Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- src/mapi/shared-glapi/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mapi/shared-glapi/Makefile.am') diff --git a/src/mapi/shared-glapi/Makefile.am b/src/mapi/shared-glapi/Makefile.am index 8d8b4dd783c..7e1068fdfec 100644 --- a/src/mapi/shared-glapi/Makefile.am +++ b/src/mapi/shared-glapi/Makefile.am @@ -9,7 +9,9 @@ include $(top_srcdir)/src/mapi/Makefile.sources lib_LTLIBRARIES = libglapi.la libglapi_la_SOURCES = $(MAPI_GLAPI_FILES) libglapi_la_LIBADD = $(PTHREAD_LIBS) $(SELINUX_LIBS) -libglapi_la_LDFLAGS = -no-undefined +libglapi_la_LDFLAGS = \ + -no-undefined \ + -Wl,--no-undefined include $(GLAPI)/gen/glapi_gen.mk glapi_mapi_tmp.h : $(GLAPI)/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps) -- cgit v1.2.3