On 02/02/2012 14:43, Brian Paul wrote: > Fixes both the autoconf and legacy config builds. > > The build was failing with "/usr/bin/ld: cannot find -lglapi" since > there was no -L flag pointing to the lib. But it's redundant anyway > since libglapi.a is already in the CORE_MESA object list. > --- > src/mesa/drivers/osmesa/Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/drivers/osmesa/Makefile > b/src/mesa/drivers/osmesa/Makefile > index 005f4d5..32ee6cf 100644 > --- a/src/mesa/drivers/osmesa/Makefile > +++ b/src/mesa/drivers/osmesa/Makefile > @@ -25,7 +25,7 @@ CORE_MESA = \ > $(TOP)/src/mapi/glapi/libglapi.a \ > $(TOP)/src/glsl/libglsl.a > > -OSMESA_LIB_DEPS := -L$(TOP)/$(LIB_DIR) -l$(GLAPI_LIB) $(OSMESA_LIB_DEPS) > +OSMESA_LIB_DEPS := -L$(TOP)/$(LIB_DIR) $(OSMESA_LIB_DEPS) > > .c.o: > $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
After this change the line does nothing but add an unneeded -L flag Please just revert 4e5a8937d1a1bfb2a3bd067ed01e036728675fc2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev