summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-02-27 08:03:35 -0500
committerHenrik Rydberg <rydberg@euromail.se>2014-02-28 19:54:40 +0100
commit88840fe45b49464642181007c5a6df1bc951bade (patch)
tree8599dd3c491aee5d3736112ce4a1002bed8f2538
parent6d698f6dba4a024b5f3ccac2876465c60f780478 (diff)
downloadmtdev-git-88840fe45b49464642181007c5a6df1bc951bade.tar.gz
build: Fix srcdir != builddir from git
Make it possible to build the source out-of-tree. The gnome-continuous build system does this by default. Signed-off-by: Colin Walters <walters@verbum.org> [rydberg@euromail.se: Resolve merge conflict] Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 317e237..9f30411 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,7 +18,7 @@ libmtdev_la_SOURCES = \
AM_CFLAGS = $(CWARNFLAGS) #-DMTDEV_NO_LEGACY_ABI
-AM_CPPFLAGS = -I$(top_srcdir)/include/
+AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(srcdir)
libmtdevincludedir = $(includedir)
libmtdevinclude_HEADERS = \