Mesa (7.8): progs/egl: Link xeglthreads to -lpthread.

Chia-I Wu olv at kemper.freedesktop.org
Thu Sep 16 04:55:29 UTC 2010


Module: Mesa
Branch: 7.8
Commit: 340e063525831d817df7f48fd34f1a00fd2720d5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=340e063525831d817df7f48fd34f1a00fd2720d5

Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Sep 15 17:56:52 2010 +0800

progs/egl: Link xeglthreads to -lpthread.

---

 progs/egl/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index fe490c2..c74f474 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -60,7 +60,7 @@ xeglgears: xeglgears.o $(HEADERS) $(LIB_DEP)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS)
 
 xeglthreads: xeglthreads.o $(HEADERS) $(LIB_DEP)
-	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm -lpthread $(X11_LIBS)
 
 xegl_tri: xegl_tri.o $(HEADERS) $(LIB_DEP)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS)




More information about the mesa-commit mailing list