summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2014-02-21 11:14:35 +0000
committerColin Walters <walters@verbum.org>2014-02-22 18:17:05 -0500
commit798712445a121ec409da67b10aff3fcc99698aec (patch)
tree07ed5fa5004dbb29dbacbbab16b16c37310e3302
parentbe37b8163df31a148b573e8feddf18e605c245be (diff)
downloadgobject-introspection-798712445a121ec409da67b10aff3fcc99698aec.tar.gz
Extend the hack towards backslashes as path separators
https://bugzilla.gnome.org/show_bug.cgi?id=724877
-rw-r--r--giscanner/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/utils.py b/giscanner/utils.py
index abd1a266..c0d49d26 100644
--- a/giscanner/utils.py
+++ b/giscanner/utils.py
@@ -132,7 +132,7 @@ def extract_libtool(la_file):
# FIXME: This hackish, but I'm not sure how to do this
# in a way which is compatible with both libtool 2.2
# and pre-2.2. Johan 2008-10-21
- libname = libname.replace('.libs/.libs', '.libs')
+ libname = libname.replace('.libs/.libs', '.libs').replace('.libs\\.libs', '.libs')
return libname