[gobject-introspection] Visual Studio builds: Fix libxml-2.0.pc generation
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Visual Studio builds: Fix libxml-2.0.pc generation
- Date: Fri, 3 Mar 2017 03:12:36 +0000 (UTC)
commit 5300bd4869a9e5344908d8682b039a82c3489c2d
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Mar 3 11:09:33 2017 +0800
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.
win32/gipc.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/win32/gipc.py b/win32/gipc.py
index 9fd066c..08b3982 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',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]