[librsvgmm] Define LIBRSVGMM_BUILD during library build



commit e210267a756cf9edecd121c98fe36da0ff8cc2ae
Author: Daniel Elstner <daniel kitta gmail com>
Date:   Mon Aug 17 15:18:33 2009 +0200

    Define LIBRSVGMM_BUILD during library build
    
    * librsvg/librsvgmm/Makefile.am (local_cppflags): Pass compiler flag
    -DLIBRSVGMM_BUILD=1.

 librsvg/librsvgmm/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/librsvg/librsvgmm/Makefile.am b/librsvg/librsvgmm/Makefile.am
index d490750..22ebf85 100644
--- a/librsvg/librsvgmm/Makefile.am
+++ b/librsvg/librsvgmm/Makefile.am
@@ -21,7 +21,9 @@ include $(srcdir)/../src/filelist.am
 include $(srcdir)/filelist.am
 include $(top_srcdir)/build/compile-binding.am
 
-AM_CPPFLAGS = $(binding_includes) $(binding_cppflags) $(GTHREAD_CFLAGS) $(LIBRSVGMM_CFLAGS)
+local_cppflags = $(binding_includes) $(binding_cppflags) -DLIBRSVGMM_BUILD=1
+
+AM_CPPFLAGS = $(local_cppflags) $(GTHREAD_CFLAGS) $(LIBRSVGMM_CFLAGS)
 AM_CXXFLAGS = $(LIBRSVGMM_WXXFLAGS)
 
 librsvgmm_2_0_la_SOURCES = $(binding_sources)



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