Mesa (7.11): targets/egl-static: fix a linking error

Chia-I Wu olv at kemper.freedesktop.org
Thu Jul 14 03:56:51 UTC 2011


Module: Mesa
Branch: 7.11
Commit: 443ff6024dbe5909a6c2b35c8c5873e37e490d65
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=443ff6024dbe5909a6c2b35c8c5873e37e490d65

Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Jul 13 15:25:46 2011 +0800

targets/egl-static: fix a linking error

rbug is always linked in and it needs libpthread.
(cherry picked from commit 5fe5d236c26b3b2428bc7395304e40cf21d3d3e1)

---

 src/gallium/targets/egl-static/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/targets/egl-static/Makefile b/src/gallium/targets/egl-static/Makefile
index 832d7ba..69e7eec 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)),)




More information about the mesa-commit mailing list