summaryrefslogtreecommitdiffstats
path: root/progs/egl
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-03-24 08:34:39 +0800
committerChia-I Wu <[email protected]>2010-03-24 08:46:10 +0800
commit99386921e778271c9b3edf90123ab6319e23fc95 (patch)
tree54298dff3c0d8120d83109f26455347307a5658a /progs/egl
parent2b5de09b3ea8754fb004d4f216bca29303f99490 (diff)
progs/egl: Link xeglthreads to libpthread.
This should hopefully fix a build failure reported by Chris Ball when binutils-gold is used.
Diffstat (limited to 'progs/egl')
-rw-r--r--progs/egl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index 8dfcb4eabcb..890240f9a38 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) -lpthread -lm $(X11_LIBS)
xegl_tri: xegl_tri.o $(HEADERS) $(LIB_DEP)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS)