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/es1api/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mapi/es1api') diff --git a/src/mapi/es1api/Makefile.am b/src/mapi/es1api/Makefile.am index b61f9cb1f66..b9581184a96 100644 --- a/src/mapi/es1api/Makefile.am +++ b/src/mapi/es1api/Makefile.am @@ -44,7 +44,10 @@ lib_LTLIBRARIES = libGLESv1_CM.la libGLESv1_CM_la_SOURCES = ../entry.c glapi_mapi_tmp.h libGLESv1_CM_la_LIBADD = $(GLESv1_CM_LIB_DEPS) -libGLESv1_CM_la_LDFLAGS = -version-number 1:1 -no-undefined +libGLESv1_CM_la_LDFLAGS = \ + -no-undefined \ + -version-number 1:1 \ + -Wl,--no-undefined if HAVE_SHARED_GLAPI libGLESv1_CM_la_LIBADD += ../shared-glapi/libglapi.la -- cgit v1.2.3