From 35d0a43e9a059e54e95fda1211112104ad6ad262 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 26 Feb 2012 16:08:55 -0500 Subject: test.cpp: fatal error: X11/Xlib.h: No such file or directory Need XSERVER_CFLAGS to locate Xlib.h Signed-off-by: Gaetan Nadon --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index f229a40..24a1b8c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -33,6 +33,6 @@ libxorg_gtest_main_la_LDFLAGS = \ $(XSERVER_LIBS) \ -Wl,--version-script=libxorg-gtest_main.ver -AM_CXXFLAGS = -I$(top_srcdir)/include +AM_CXXFLAGS = -I$(top_srcdir)/include $(XSERVER_CFLAGS) EXTRA_DIST = libxorg-gtest.ver libxorg-gtest_main.ver -- cgit v1.2.3