build/x11: Don't link against shared-glapi
authorMatt Turner <mattst88@gmail.com>
Fri, 17 Aug 2012 18:12:48 +0000 (11:12 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 22 Aug 2012 18:08:06 +0000 (11:08 -0700)
Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/x11/Makefile.am

index 263c44199f131a1d2d195b485b16f02f52cc091c..d9f342308bdaaf29ce715ea2b55ee3868730bc8e 100644 (file)
@@ -62,10 +62,6 @@ lib@GL_LIB@_la_LDFLAGS = \
        -no-undefined \
        $(GL_LIB_DEPS)
 
-if HAVE_SHARED_GLAPI
-lib@GL_LIB@_la_LDFLAGS += -L$(top_builddir)/$(LIB_DIR) -l$(GLAPI_LIB)
-endif
-
 # Provide compatibility with scripts for the old Mesa build system for
 # a while by putting a link to the driver into /lib of the build tree.
 all-local: lib@GL_LIB@.la