[gexiv2] Fix builddir != srcdir



commit 1e3d73b228e7dc9e332c49fe5f86e46b02f9d909
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jan 20 17:23:47 2016 +0000

    Fix builddir != srcdir
    
    The version header is generated, so it won't be in the srcdir path.

 Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index cf64526..b3eb244 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -50,7 +50,7 @@ GEXIV2_public_HEADERS = \
        $(srcdir)/gexiv2/gexiv2-preview-image.h \
        $(srcdir)/gexiv2/gexiv2-log.h \
        $(srcdir)/gexiv2/gexiv2-startup.h \
-       $(srcdir)/gexiv2/gexiv2-version.h
+       gexiv2/gexiv2-version.h
 
 # Non-installed source files. #
 GEXIV2_sources = \
@@ -90,7 +90,7 @@ if WORD_64
 REQUIRED_CXXFLAGS += -fPIC -DPIC
 endif
 
-AM_CXXFLAGS = $(REQUIRED_CXXFLAGS)
+AM_CXXFLAGS = $(REQUIRED_CXXFLAGS) -I$(top_builddir)/gexiv2
 
 $(GEXIV2_sources): gexiv2/gexiv2-version.h
 


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