mesa: Fix libglapi.a build for dri
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 13 Jun 2008 17:13:35 +0000 (19:13 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 13 Jun 2008 17:13:35 +0000 (19:13 +0200)
src/mesa/Makefile

index 3ce30a1..2d0a6e0 100644 (file)
@@ -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