[gnome-session] tools: Fix build with srcdir != builddir



commit 3b4b5c3c8aa96344b54e7a62157345ec220a576a
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 7 13:00:08 2012 +0100

    tools: Fix build with srcdir != builddir

 tools/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 6136d23..998d595 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -26,7 +26,8 @@ gnome_session_quit_LDADD =			\
 gnome_session_inhibit_SOURCES =			\
 	gnome-session-inhibit.c
 
-gnome_session_inhibit_CPPFLAGS =			\
+gnome_session_inhibit_CPPFLAGS =		\
+	-I$(top_srcdir)/			\
 	$(AM_CPPFLAGS)				\
 	$(GNOME_SESSION_CFLAGS)			\
 	-DLOCALE_DIR=\""$(datadir)/locale"\"	\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]