progs/xdemos: added -lX11 -lpthread for GNU gold linker
[mesa.git] / progs / xdemos / Makefile
index 53e1c54ef3cbee9529b4c1b625c1847d59348796..77f667978ce1b2cbf5563d157056267e67e7dd0f 100644 (file)
@@ -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 = \