[librsvg/librsvg-2.40] MSVC introspection builds: Ensure we use the freshly-built library



commit fcd4d6d9b1617b0bfdadf28988e9a0ffe3db324b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Sat Dec 9 10:55:59 2017 +0800

    MSVC introspection builds: Ensure we use the freshly-built library
    
    Use the -L argument of g-ir-scanner so that we ensure that we indeed
    link the dumper program to the .lib/.dll that we just built, and so
    ensure that when the dumper program is being run, it finds the
    freshly-built DLL first.

 build/Makefile.msvc-introspection |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/build/Makefile.msvc-introspection b/build/Makefile.msvc-introspection
index 6c90964..f99fd93 100644
--- a/build/Makefile.msvc-introspection
+++ b/build/Makefile.msvc-introspection
@@ -107,6 +107,7 @@ $(top_builddir)/build/win32/$(1).msvc.introspect:
        echo '  --cflags-begin  \'>>$(top_builddir)/build/win32/$(1).msvc.introspect
        echo '  '$($(_gir_name)_MSVC_CFLAGS)'   \'>>$(top_builddir)/build/win32/$(1).msvc.introspect
        echo '  --cflags-end    \'>>$(top_builddir)/build/win32/$(1).msvc.introspect
+       echo '  -Lvs$$$$(VSVER)\$$$$(CFG)\$$$$(PLAT)\bin        
\'>>$(top_builddir)/build/win32/$(1).msvc.introspect
        echo '  '$($(_gir_name)_MSVC_SCANNERFLAGS)'     \'>>$(top_builddir)/build/win32/$(1).msvc.introspect
        echo '  --filelist='$(_gir_name)'_list  \'>>$(top_builddir)/build/win32/$(1).msvc.introspect
        echo '  -o $$$$@'>>$(top_builddir)/build/win32/$(1).msvc.introspect


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