mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
gallium: another attempt at fixing libglapi.a compilation for DRI builds
If building for DRI, make a dummy/empty libglapi.a for now.
This commit is contained in:
parent
9350fd62b6
commit
2cc1b7c742
1 changed files with 5 additions and 6 deletions
|
|
@ -19,12 +19,7 @@ include sources
|
|||
|
||||
|
||||
|
||||
# XXX work-around glapi.c build failure for DRI builds:
|
||||
ifeq ($(WINDOW_SYSTEM), dri)
|
||||
GLAPI_LIB =
|
||||
else
|
||||
GLAPI_LIB = libglapi.a
|
||||
endif
|
||||
|
||||
|
||||
# Default: build dependencies, then asm_subdirs, then convenience
|
||||
|
|
@ -42,7 +37,11 @@ libmesa.a: $(MESA_OBJECTS) asm_subdirs
|
|||
|
||||
# Make archive of gl* API dispatcher functions only
|
||||
$(GLAPI_LIB): $(GLAPI_OBJECTS) asm_subdirs
|
||||
@ $(TOP)/bin/mklib -o glapi -static $(GLAPI_OBJECTS)
|
||||
if [ "${WINDOW_SYSTEM}" = "dri" ] ; then \
|
||||
$(TOP)/bin/mklib -o glapi -static ; \
|
||||
else \
|
||||
$(TOP)/bin/mklib -o glapi -static $(GLAPI_OBJECTS) ; \
|
||||
fi
|
||||
|
||||
|
||||
######################################################################
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue