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 <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -48,7 +48,10 @@ lib_LTLIBRARIES = libGLESv2.la
|
||||
|
||||
libGLESv2_la_SOURCES = ../entry.c glapi_mapi_tmp.h
|
||||
libGLESv2_la_LIBADD = $(GLESv2_LIB_DEPS)
|
||||
libGLESv2_la_LDFLAGS = -version-number 2 -no-undefined
|
||||
libGLESv2_la_LDFLAGS = \
|
||||
-no-undefined \
|
||||
-version-number 2 \
|
||||
-Wl,--no-undefined
|
||||
|
||||
if HAVE_SHARED_GLAPI
|
||||
libGLESv2_la_LIBADD += ../shared-glapi/libglapi.la
|
||||
|
||||
Reference in New Issue
Block a user