progs/xdemos: added -lX11 -lpthread for GNU gold linker
authorBrian Paul <brianp@vmware.com>
Tue, 17 Nov 2009 20:39:13 +0000 (13:39 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 17 Nov 2009 20:40:00 +0000 (13:40 -0700)
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 = \