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 3ce30a1e25912cffe4db12bb74931c8991795d95..2d0a6e016780518439f09ae9cbe1da346c7cffee 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