targets/egl-static: fix a linking error
authorChia-I Wu <olv@lunarg.com>
Wed, 13 Jul 2011 07:25:46 +0000 (15:25 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 13 Jul 2011 07:26:34 +0000 (15:26 +0800)
rbug is always linked in and it needs libpthread.

src/gallium/targets/egl-static/Makefile

index 832d7ba438fd1a384443fc8aee3a43643f51f1f0..69e7eecdf0ca63066c2c4d3d414eb8e7ccafc6aa 100644 (file)
@@ -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)),)