From: Brian Paul Date: Tue, 17 Nov 2009 20:39:13 +0000 (-0700) Subject: progs/xdemos: added -lX11 -lpthread for GNU gold linker X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d888bbc45a84946cafb4f4d2c89681a580cd89bc;p=mesa.git progs/xdemos: added -lX11 -lpthread for GNU gold linker --- diff --git a/progs/xdemos/Makefile b/progs/xdemos/Makefile index 53e1c54ef3c..77f667978ce 100644 --- a/progs/xdemos/Makefile +++ b/progs/xdemos/Makefile @@ -8,6 +8,9 @@ INCDIR = $(TOP)/include LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) +# Add X11 and pthread libs to satisfy GNU gold. +APP_LIB_DEPS += -lX11 -lpthread + LIBS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(APP_LIB_DEPS) PROGS = \