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

Chia-I Wu olv at kemper.freedesktop.org
Wed Jul 13 07:26:57 UTC 2011


Module: Mesa
Branch: master
Commit: 5fe5d236c26b3b2428bc7395304e40cf21d3d3e1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fe5d236c26b3b2428bc7395304e40cf21d3d3e1

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.

---

 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