Module: Mesa Branch: master Commit: d888bbc45a84946cafb4f4d2c89681a580cd89bc URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d888bbc45a84946cafb4f4d2c89681a580cd89bc
Author: Brian Paul <[email protected]> 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 = \ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
