[atk] MSVC Introspection Build: Fix build



commit 55e89c0b2578d9a31f4c5526f158b8e1a788e56f
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Jan 13 15:40:09 2014 +0800

    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.

 build/atk-introspection-msvc.mak |    3 ++-
 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)        \


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