summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2012-02-26 16:08:55 -0500
committerGaetan Nadon <memsize@videotron.ca>2012-02-26 16:21:47 -0500
commit35d0a43e9a059e54e95fda1211112104ad6ad262 (patch)
treebfc97ac9dcac1bd7d8cd13fe7a1b0ba6a97c0b9b
parent6bae528bd9c8744d39b003c06f4f0a2ab41c9331 (diff)
test.cpp: fatal error: X11/Xlib.h: No such file or directory
Need XSERVER_CFLAGS to locate Xlib.h Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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