summaryrefslogtreecommitdiff
path: root/build/gi-introspection-msvc.mak
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-02-24 12:38:35 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-02-25 11:57:54 +0800
commitf3128da2b54414cb3ba51cc758ecfb76cd87a2f7 (patch)
tree3466c0e70af85c326240bf8b12611e56cbf2d194 /build/gi-introspection-msvc.mak
parentf3fcdf9701fb6e70684479c73f7f3ab5492e3d1a (diff)
downloadgobject-introspection-f3128da2b54414cb3ba51cc758ecfb76cd87a2f7.tar.gz
scanner: Make shlib Resolution Work Also With Visual C++
Commit f3fcdf97 introduced shlib resolution for Windows, but it only works with MinGW and would therefore break builds of introspection files for Visual C++. Improve on the situation by adding capabilities to do the same with Visual C++, as the introspection dumper program is still compiled and linked with the Microsoft tool set (only the proprocessor to process the various headers is using GCC/MinGW). This makes use of the dumpbin utility that is shipped with Visual C++, which will query a .lib file, which leads to the DLL that the .lib file will link to. The 'gcc -print-search-dirs' can be replaced on Visual C++ builds by querying the LIB environment variable, as this is what the Visual C++ compiler/linker really looks at during compilation and linkage. https://bugzilla.gnome.org/show_bug.cgi?id=724890
Diffstat (limited to 'build/gi-introspection-msvc.mak')
0 files changed, 0 insertions, 0 deletions