Mesa (master): progs/xdemos: added -lX11 -lpthread for GNU gold linker

Brian Paul brianp at kemper.freedesktop.org
Tue Nov 17 20:41:01 UTC 2009


Module: Mesa
Branch: master
Commit: d888bbc45a84946cafb4f4d2c89681a580cd89bc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d888bbc45a84946cafb4f4d2c89681a580cd89bc

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Nov 17 13:39:13 2009 -0700

progs/xdemos: added -lX11 -lpthread for GNU gold linker

---

 progs/xdemos/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/progs/xdemos/Makefile b/progs/xdemos/Makefile
index 53e1c54..77f6679 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 = \




More information about the mesa-commit mailing list