From: Chia-I Wu Date: Wed, 13 Jul 2011 07:25:46 +0000 (+0800) Subject: targets/egl-static: fix a linking error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fe5d236c26b3b2428bc7395304e40cf21d3d3e1;p=mesa.git targets/egl-static: fix a linking error rbug is always linked in and it needs libpthread. --- diff --git a/src/gallium/targets/egl-static/Makefile b/src/gallium/targets/egl-static/Makefile index 832d7ba438f..69e7eecdf0c 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)),)