[gobject-introspection] MSVC introspection builds: Also include gio-windows-2.0.pc
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] MSVC introspection builds: Also include gio-windows-2.0.pc
- Date: Wed, 2 Mar 2016 04:09:40 +0000 (UTC)
commit 27bd12dac3e772a5828b144c4040e327204d2059
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Mar 2 12:06:19 2016 +0800
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.
build/win32/gi-introspection-msvc.mak | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/build/win32/gi-introspection-msvc.mak b/build/win32/gi-introspection-msvc.mak
index 5bcbaf3..c63d196 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 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]