summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-07-13 15:25:46 +0800
committerChia-I Wu <[email protected]>2011-07-13 15:26:34 +0800
commit5fe5d236c26b3b2428bc7395304e40cf21d3d3e1 (patch)
treefdd607313d32cd36d202b0028a25209df0a04e3f /src/gallium/targets/egl-static/Makefile
parent556a47a2621073185be83a0a721a8ba93392bedb (diff)
targets/egl-static: fix a linking error
rbug is always linked in and it needs libpthread.
Diffstat (limited to 'src/gallium/targets/egl-static/Makefile')
-rw-r--r--src/gallium/targets/egl-static/Makefile2
1 files changed, 1 insertions, 1 deletions
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)),)