diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2017-03-03 11:09:33 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2017-03-03 11:09:33 +0800 |
commit | 5300bd4869a9e5344908d8682b039a82c3489c2d (patch) | |
tree | c933b3befc6d475625a068d87949e364d8213d12 | |
parent | da2b1d2380e4da05605498c4259375b822b86eda (diff) | |
download | gobject-introspection-5300bd4869a9e5344908d8682b039a82c3489c2d.tar.gz |
Visual Studio builds: Fix libxml-2.0.pc generation
We can't just use -llibxml2 for the libraries that libxml2 will link to,
as that will result in xml2.lib being searched rather than libxml2.lib
that we need, as the --msvc-syntax flag will eliminate the lib prefix for
the libraries. Instead, just pass in libxml2.lib explicitly to work around
this.
-rw-r--r-- | win32/gipc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/gipc.py b/win32/gipc.py index 9fd066c8..08b3982c 100644 --- a/win32/gipc.py +++ b/win32/gipc.py @@ -80,7 +80,7 @@ def main(argv): {'Name: cairo': 'Name: libXML', 'Version: ' + cairo_version: 'Version: ' + libxml2_version, 'generic cairo pkg-config file': 'generic libXML2 pkg-config file', - '-lcairo': '-llibxml2', + '-lcairo': 'libxml2.lib', 'Cflags: -I${includedir}': 'Cflags: -I${includedir}/libxml2'} replace_multi(base_pc.srcdir + '/cairo.pc', base_pc.srcdir + '/libxml-2.0.pc', |