From ff3515831e3aed708c2ab7452fa1d470eb1fa1ae Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 10 Jan 2004 22:18:41 +0000 Subject: [PATCH] added OSMESA_LIB_DEPS needed for some platforms --- src/mesa/Makefile.X11 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mesa/Makefile.X11 b/src/mesa/Makefile.X11 index 1fd6f204edd..3031daf0687 100644 --- a/src/mesa/Makefile.X11 +++ b/src/mesa/Makefile.X11 @@ -9,8 +9,9 @@ GL_MAJOR = 1 GL_MINOR = 5 GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY) -GL_LIB_NAME = "GL" # may be overridden in Make-config -OSMESA_LIB_NAME = "OSMesa" # may be overridden in Make-config +# These may be overridden in Make-config +GL_LIB_NAME = GL +OSMESA_LIB_NAME = OSMesa LIBDIR = $(TOP)/lib @@ -104,7 +105,8 @@ $(LIBDIR)/$(OSMESA_LIB): $(OSMESA_OBJECTS) if [ ${OSMESA_LIB} ] ; then \ $(TOP)/bin/mklib -o $(OSMESA_LIB_NAME) -major $(MESA_MAJOR) \ -minor $(MESA_MINOR) -patch $(GL_TINY) -L$(LIBDIR) \ - -l$(GL_LIB_NAME) -install $(LIBDIR) \ + -l$(GL_LIB_NAME) $(OSMESA_LIB_DEPS) \ + -install $(LIBDIR) \ $(MKLIB_OPTIONS) $(OSMESA_OBJECTS) ; \ fi -- 2.30.2