[json-glib] Fix MSVC Introspection Build



commit 18c76eff151fd29213401477c2c4a022eec9c698
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Apr 1 19:40:12 2014 +0800

    Fix MSVC Introspection Build
    
    Also substitute $(top_builddir), as it is used for json-version.h during
    the scanning of the headers and sources.

 build/win32/gen-file-list-jsonglib.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/build/win32/gen-file-list-jsonglib.py b/build/win32/gen-file-list-jsonglib.py
index eed85f3..9e1c43f 100644
--- a/build/win32/gen-file-list-jsonglib.py
+++ b/build/win32/gen-file-list-jsonglib.py
@@ -11,7 +11,8 @@ import optparse
 def gen_jsonglib_filelist(srcroot, subdir, dest):
     vars = read_vars_from_AM(os.path.join(srcroot, subdir, 'Makefile.am'),
                              vars = {'srcdir':'../json-glib',
-                                     'top_srcdir':'..'},
+                                     'top_srcdir':'..',
+                                     'top_builddir':'..'},
                              conds = {'HAVE_INTROSPECTION':True},
                              filters = ['Json_1_0_gir_FILES'])
 


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