summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/Makefile
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2010-03-15 20:53:56 -0700
committerDan Nicholson <[email protected]>2010-04-19 20:21:57 -0700
commit4e7a4bed372a6da4dde8926f3bc30c56e3fbe07b (patch)
treef887a07a43cfda435e8bf51caacae30624627510 /progs/xdemos/Makefile
parent4f8bf353bd7e896268e0eb445c61270a8823892a (diff)
Change libX11 variables to not conflict with AC_PATH_XTRA
The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars for linking with Xlib to avoid the conflict. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
Diffstat (limited to 'progs/xdemos/Makefile')
-rw-r--r--progs/xdemos/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/Makefile b/progs/xdemos/Makefile
index 038e21cf9ac..2663015b2c7 100644
--- a/progs/xdemos/Makefile
+++ b/progs/xdemos/Makefile
@@ -9,7 +9,7 @@ INCDIR = $(TOP)/include
LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME)
# Add X11 and pthread libs to satisfy GNU gold.
-APP_LIB_DEPS += $(X_LIBS) -lpthread
+APP_LIB_DEPS += $(X11_LIBS) -lpthread
LIBS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(APP_LIB_DEPS)