From: Chia-I Wu Date: Wed, 24 Mar 2010 00:34:39 +0000 (+0800) Subject: progs/egl: Link xeglthreads to libpthread. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99386921e778271c9b3edf90123ab6319e23fc95;p=mesa.git progs/egl: Link xeglthreads to libpthread. This should hopefully fix a build failure reported by Chris Ball when binutils-gold is used. --- 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)