From 7cec5327e1d3625f7e2f1c3ad397a008f2a62e43 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 12 Jul 2011 22:55:39 +0800 Subject: [PATCH] targets/egl-static: fix linking errors --- src/gallium/targets/egl-static/Makefile | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/targets/egl-static/Makefile b/src/gallium/targets/egl-static/Makefile index 832d7ba..caf709c 100644 --- a/src/gallium/targets/egl-static/Makefile +++ b/src/gallium/targets/egl-static/Makefile @@ -42,7 +42,7 @@ egl_CPPFLAGS += \ -I$(TOP)/src/egl/main \ -D_EGL_MAIN=_eglMain egl_LIBS += $(TOP)/src/gallium/state_trackers/egl/libegl.a -egl_SYS += $(LIBUDEV_LIBS) $(DLOPEN_LIBS) -lEGL -lm +egl_SYS += $(LIBUDEV_LIBS) $(DLOPEN_LIBS) -lEGL -lm -lpthread # EGL platforms ifneq ($(findstring x11, $(EGL_PLATFORMS)),) @@ -160,10 +160,10 @@ st_GL_SYS := -lm -lpthread $(DLOPEN_LIBS) ifeq ($(MESA_LLVM),1) egl_CPPFLAGS += -DGALLIUM_LLVMPIPE egl_LIBS += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a -egl_SYS += $(LLVM_LIBS) +egl_SYS := $(LLVM_LIBS) $(egl_SYS) LDFLAGS += $(LLVM_LDFLAGS) -st_GL_SYS += $(LLVM_LIBS) +st_GL_SYS := $(LLVM_LIBS) $(egl_SYS) endif OUTPUT_PATH := $(TOP)/$(LIB_DIR)/egl -- 1.7.5.4