summaryrefslogtreecommitdiff
path: root/build/atk-introspection-msvc.mak
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-01-13 15:40:09 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-01-13 15:40:42 +0800
commit55e89c0b2578d9a31f4c5526f158b8e1a788e56f (patch)
treee5d8808d09debc57f871db85b76acfe7ba6abfae /build/atk-introspection-msvc.mak
parentdf14b99e81a2e7cb43000568ef24e42548b362e6 (diff)
downloadatk-55e89c0b2578d9a31f4c5526f158b8e1a788e56f.tar.gz
MSVC Introspection Build: Fix build
Link and run the dumper program firstly against the build of ATK from the same tarball,then linking to the other dependent libraries which this build of ATK was built against before finally trying to link and run against other existing builds. This is especially important for unstable releases, as APIs are often added and dependent upon during development cycles.
Diffstat (limited to 'build/atk-introspection-msvc.mak')
-rw-r--r--build/atk-introspection-msvc.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/atk-introspection-msvc.mak b/build/atk-introspection-msvc.mak
index 0c20812..72618f7 100644
--- a/build/atk-introspection-msvc.mak
+++ b/build/atk-introspection-msvc.mak
@@ -24,8 +24,9 @@ Atk-$(APIVERSION).gir: atk_list
@-echo Generating Atk-$(APIVERSION).gir...
@set CC=$(CC)
@set PYTHONPATH=$(BASEDIR)\lib\gobject-introspection
- @set PATH=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(PATH);$(MINGWDIR)\bin
+ @set PATH=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(BASEDIR)\bin;$(PATH);$(MINGWDIR)\bin
@set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)
+ @set LIB=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(BASEDIR)\lib;$(LIB)
$(PYTHON2) $(G_IR_SCANNER) --verbose -I.. --add-include-path=.. \
--namespace=Atk --nsversion=$(APIVERSION) --include=GObject-2.0 \
--no-libtool --pkg=glib-2.0 --library=$(DLLNAME) \