From 99386921e778271c9b3edf90123ab6319e23fc95 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 24 Mar 2010 08:34:39 +0800 Subject: progs/egl: Link xeglthreads to libpthread. This should hopefully fix a build failure reported by Chris Ball when binutils-gold is used. --- progs/egl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs') diff --git a/progs/egl/Makefile b/progs/egl/Makefile index 8dfcb4eabc..890240f9a3 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) -- cgit v1.2.3