From: Jakob Bornecrantz Date: Fri, 13 Jun 2008 17:13:35 +0000 (+0200) Subject: mesa: Fix libglapi.a build for dri X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=907b753ae62db8c2b266b18ed122eb00e1d66587;p=mesa.git mesa: Fix libglapi.a build for dri --- diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 3ce30a1e259..2d0a6e01678 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -37,8 +37,8 @@ libmesa.a: $(MESA_OBJECTS) asm_subdirs # Make archive of gl* API dispatcher functions only $(GLAPI_LIB): $(GLAPI_OBJECTS) asm_subdirs - if [ "${WINDOW_SYSTEM}" = "dri" ] ; then \ - $(TOP)/bin/mklib -o glapi -static ; \ + @if [ "${WINDOW_SYSTEM}" = "dri" ] ; then \ + touch libglapi.a ; \ else \ $(TOP)/bin/mklib -o glapi -static $(GLAPI_OBJECTS) ; \ fi