mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
targets/egl: Link with DRI_LIB_DEPS.
Use DRI_LIB_DEPS when linking GL/GLES state trackers. This fixes missing talloc symbol errors, and is hopefully more future proof.
This commit is contained in:
parent
37e5f78422
commit
7f36b2980b
1 changed files with 3 additions and 3 deletions
|
|
@ -119,17 +119,17 @@ endif
|
|||
|
||||
# OpenGL state tracker
|
||||
GL_CPPFLAGS := -I$(TOP)/src/mesa $(API_DEFINES)
|
||||
GL_SYS := -lpthread -lm -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||
GL_SYS := $(DRI_LIB_DEPS) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||
GL_LIBS := $(TOP)/src/mesa/libmesagallium.a
|
||||
|
||||
# OpenGL ES 1.x state tracker
|
||||
GLESv1_CM_CPPFLAGS := -I$(TOP)/src/mesa
|
||||
GLESv1_CM_SYS := -lpthread -lm -L$(TOP)/$(LIB_DIR) -l$(GLESv1_CM_LIB)
|
||||
GLESv1_CM_SYS := $(DRI_LIB_DEPS) -L$(TOP)/$(LIB_DIR) -l$(GLESv1_CM_LIB)
|
||||
GLESv1_CM_LIBS := $(TOP)/src/mesa/libes1gallium.a
|
||||
|
||||
# OpenGL ES 2.x state tracker
|
||||
GLESv2_CPPFLAGS := -I$(TOP)/src/mesa
|
||||
GLESv2_SYS := -lpthread -lm -L$(TOP)/$(LIB_DIR) -l$(GLESv2_LIB)
|
||||
GLESv2_SYS := $(DRI_LIB_DEPS) -L$(TOP)/$(LIB_DIR) -l$(GLESv2_LIB)
|
||||
GLESv2_LIBS := $(TOP)/src/mesa/libes2gallium.a
|
||||
|
||||
# OpenVG state tracker
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue