Mesa (master): osmesa: don't need to link with -lGL

Brian Paul brianp at kemper.freedesktop.org
Wed Apr 28 13:21:36 UTC 2010


Module: Mesa
Branch: master
Commit: c5bf13c537e55ef04deec8226924cf9ab17d9538
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5bf13c537e55ef04deec8226924cf9ab17d9538

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Apr 27 16:57:42 2010 -0600

osmesa: don't need to link with -lGL

The gl entrypoints are in libOSMesa.so

---

 progs/osdemos/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/osdemos/Makefile b/progs/osdemos/Makefile
index f53515c..2a0f208 100644
--- a/progs/osdemos/Makefile
+++ b/progs/osdemos/Makefile
@@ -5,7 +5,7 @@ include $(TOP)/configs/current
 
 INCDIR = $(TOP)/include
 
-OSMESA_LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -l$(OSMESA_LIB) $(APP_LIB_DEPS)
+OSMESA_LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(OSMESA_LIB) $(APP_LIB_DEPS)
 
 OSMESA16_LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -lOSMesa16 -l$(GLU_LIB) \
 	-l$(GL_LIB) $(APP_LIB_DEPS)




More information about the mesa-commit mailing list