[PATCH xts] xts5: include xtrans CFLAGS when building libXst

Aaron Plattner aplattner at nvidia.com
Fri Jan 4 18:15:02 PST 2013


If xtrans is installed in a weird location, libXst fails to build:

 ConnDis.c:43:31: fatal error: X11/Xtrans/Xtrans.h: No such file or directory

Fix this by including $(XT_CFLAGS) to pick up the path to Xtrans.h.

Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
---
 xts5/src/libproto/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xts5/src/libproto/Makefile.am b/xts5/src/libproto/Makefile.am
index 40bd91f..594680c 100644
--- a/xts5/src/libproto/Makefile.am
+++ b/xts5/src/libproto/Makefile.am
@@ -32,7 +32,7 @@ XP_OPEN_DIS=XlibXtst.c
 AM_CFLAGS = -I$(top_srcdir)/include \
 	-I$(top_srcdir)/src/tet3/inc \
 	-I$(top_srcdir)/xts5/include \
-	$(XTS_CFLAGS)
+	$(XTS_CFLAGS) $(XT_CFLAGS)
 noinst_LTLIBRARIES = libXst.la
 libXst_la_SOURCES =\
 	XstlibInt.h\
-- 
1.8.1



More information about the xorg-devel mailing list