[json-glib] build: Build without deprecations



commit 3c7811bf24d4b957da730949af6795b728db5bad
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Thu Nov 12 12:02:41 2009 +0000

    build: Build without deprecations
    
    Make sure that JSON-GLib is built without using deprecated API.

 json-glib/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/json-glib/Makefile.am b/json-glib/Makefile.am
index 6b3df07..cb2e464 100644
--- a/json-glib/Makefile.am
+++ b/json-glib/Makefile.am
@@ -23,6 +23,7 @@ AM_CPPFLAGS = \
 	-DLIBDIR=\""$(libdir)"\" 	\
 	-DJSON_COMPILATION=1		\
 	-DG_DISABLE_DEPRECATED 		\
+	-DJSON_DISABLE_DEPRECATED	\
 	-DG_LOG_DOMAIN=\"Json\" 	\
 	$(JSON_DEBUG_CFLAGS) 		\
 	$(NULL)



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