summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-11-17 13:39:13 -0700
committerBrian Paul <[email protected]>2009-11-17 13:40:00 -0700
commitd888bbc45a84946cafb4f4d2c89681a580cd89bc (patch)
treebc838a2e16bef7b8f0df142762f41114d242b738
parent11905da8836822f7dd60c84b5eefc72e46c94b50 (diff)
progs/xdemos: added -lX11 -lpthread for GNU gold linker
-rw-r--r--progs/xdemos/Makefile3
1 files changed, 3 insertions, 0 deletions
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 = \