Mesa (master): mapi: Use -no-undefined libtool flag in src/mapi/ shared-glapi/Makefile.am
Eric Anholt
anholt at kemper.freedesktop.org
Wed Mar 21 19:08:22 UTC 2012
Module: Mesa
Branch: master
Commit: 0bc440774489a3f7b4f61bf1161fad7dcf548596
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bc440774489a3f7b4f61bf1161fad7dcf548596
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Tue Mar 20 11:11:00 2012 +0000
mapi: Use -no-undefined libtool flag in src/mapi/shared-glapi/Makefile.am
Use -no-undefined to assure libtool that the library has no unresolved
symbols at link time, so that libtool will build a shared library on
platforms that require that all symbols are resolved when the library
is linked.
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
src/mapi/shared-glapi/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mapi/shared-glapi/Makefile.am b/src/mapi/shared-glapi/Makefile.am
index f8e0271..8988d28 100644
--- a/src/mapi/shared-glapi/Makefile.am
+++ b/src/mapi/shared-glapi/Makefile.am
@@ -6,6 +6,7 @@ include $(top_srcdir)/src/mapi/mapi/sources.mak
lib_LTLIBRARIES = libglapi.la
libglapi_la_SOURCES = $(MAPI_GLAPI_FILES)
+libglapi_la_LDFLAGS = -no-undefined
include $(GLAPI)/gen/glapi_gen.mk
glapi_mapi_tmp.h : $(GLAPI)/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
More information about the mesa-commit
mailing list