Use -no-undefined libtool flag in src/glx/Makefile.am
authorJon TURNEY <jon.turney@dronecode.org.uk>
Tue, 13 Mar 2012 18:38:59 +0000 (18:38 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Wed, 28 Mar 2012 12:03:52 +0000 (13:03 +0100)
"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@dronecode.org.uk>
src/glx/Makefile.am

index 2e065885e5211499eebad5dc7df234110cb128fa..ec62faade99bb94f241b6bed82afe8fea6d8ed45 100644 (file)
@@ -102,7 +102,7 @@ GL_LIBS = \
 
 GL_LDFLAGS = \
        -Wl,-Bsymbolic \
-       -version-number 1:2
+       -version-number 1:2 -no-undefined
 
 libGL_la_SOURCES = $(GL_FILES)
 libMangledGL_la_SOURCES = $(GL_FILES)