summaryrefslogtreecommitdiffstats
path: root/progs/egl
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2010-03-15 20:53:56 -0700
committerDan Nicholson <dbn.lists@gmail.com>2010-03-23 13:26:50 -0700
commite725ef171b5a4d5425461f237d9ccab223806913 (patch)
treeeaadc7d655afd1cbd445ef58e549b72b74fe61fe /progs/egl
parentba5a53edd12fac24c176e714560b1f9ec255bbdb (diff)
downloadexternal_mesa3d-e725ef171b5a4d5425461f237d9ccab223806913.zip
external_mesa3d-e725ef171b5a4d5425461f237d9ccab223806913.tar.gz
external_mesa3d-e725ef171b5a4d5425461f237d9ccab223806913.tar.bz2
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 <dbn.lists@gmail.com>
Diffstat (limited to 'progs/egl')
-rw-r--r--progs/egl/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index 5f51104..8dfcb4e 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -57,13 +57,13 @@ peglgears: peglgears.o $(HEADERS) $(LIB_DEP)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(LIBDRM_LIB) -lm
xeglgears: xeglgears.o $(HEADERS) $(LIB_DEP)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X_LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS)
xeglthreads: xeglthreads.o $(HEADERS) $(LIB_DEP)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X_LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS)
xegl_tri: xegl_tri.o $(HEADERS) $(LIB_DEP)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X_LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS)
clean:
-rm -f *.o *~