aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2010-03-15 20:53:56 -0700
committerDan Nicholson <[email protected]>2010-03-23 13:26:50 -0700
commite725ef171b5a4d5425461f237d9ccab223806913 (patch)
treeeaadc7d655afd1cbd445ef58e549b72b74fe61fe /src
parentba5a53edd12fac24c176e714560b1f9ec255bbdb (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]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/glx/xlib/Makefile2
-rw-r--r--src/gallium/winsys/xlib/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/Makefile b/src/gallium/state_trackers/glx/xlib/Makefile
index 582e72bb463..35509fd708b 100644
--- a/src/gallium/state_trackers/glx/xlib/Makefile
+++ b/src/gallium/state_trackers/glx/xlib/Makefile
@@ -6,7 +6,7 @@ LIBNAME = xlib
LIBRARY_INCLUDES = \
-I$(TOP)/include \
-I$(TOP)/src/mesa \
- $(X_CFLAGS)
+ $(X11_CFLAGS)
C_SOURCES = \
glx_api.c \
diff --git a/src/gallium/winsys/xlib/Makefile b/src/gallium/winsys/xlib/Makefile
index 18357a41127..83d53c59542 100644
--- a/src/gallium/winsys/xlib/Makefile
+++ b/src/gallium/winsys/xlib/Makefile
@@ -7,7 +7,7 @@ LIBRARY_INCLUDES = \
-I$(TOP)/src/gallium/include \
-I$(TOP)/src/gallium/drivers \
-I$(TOP)/src/gallium/auxiliary \
- $(X_CFLAGS)
+ $(X11_CFLAGS)
C_SOURCES = \
xlib_sw_winsys.c