summaryrefslogtreecommitdiff
path: root/build/win32
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2016-03-02 12:06:19 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2016-03-02 12:06:19 +0800
commit27bd12dac3e772a5828b144c4040e327204d2059 (patch)
treec8cfbce52ef9a4f6a6346d2189faeef2fc841572 /build/win32
parent9f16aaa34833d8cbf1b58e984a2a8faaae6931ed (diff)
downloadgobject-introspection-27bd12dac3e772a5828b144c4040e327204d2059.tar.gz
MSVC introspection builds: Also include gio-windows-2.0.pc
...for generating GLib-2.0.gir, this is to ensure that the headers in include/gio-win32-2.0 is also included when we generate the .gir files, as gio.h will include the include/gio-win32-2.0 headers at some point. This will ensure that all the .gir's that depend on GLib-2.0.gir will make the necessary inclusions.
Diffstat (limited to 'build/win32')
-rw-r--r--build/win32/gi-introspection-msvc.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/win32/gi-introspection-msvc.mak b/build/win32/gi-introspection-msvc.mak
index 5bcbaf37..c63d196f 100644
--- a/build/win32/gi-introspection-msvc.mak
+++ b/build/win32/gi-introspection-msvc.mak
@@ -88,7 +88,8 @@ GLib-$(GLIB_APIVERSION).gir: glib_list
@-echo Generating $@...
$(PYTHON) $(G_IR_SCANNER_CURRENT) --verbose -I$(TOP_SRCDIR) --add-include-path=$(TOP_SRCDIR) \
--add-include-path=$(TOP_SRCDIR)\gir --add-include-path=. --namespace=GLib --nsversion=$(GLIB_APIVERSION) \
- --no-libtool --pkg=glib-$(GLIB_APIVERSION) --include=win32-$(GI_APIVERSION) --library=glib-2.0 --library=gobject-2.0 \
+ --no-libtool --pkg=gio-windows-$(GLIB_APIVERSION) --pkg=glib-$(GLIB_APIVERSION) \
+ --include=win32-$(GI_APIVERSION) --library=glib-2.0 --library=gobject-2.0 \
--external-library --reparse-validate --identifier-prefix=G --symbol-prefix=g \
--symbol-prefix=glib --c-include="glib.h" -I$(PREFIX)\include\glib-$(GLIB_APIVERSION) \
-I$(PREFIX)\lib\glib-2.0\include -I$(PREFIX)\include -DGETTEXT_PACKAGE=Dummy \