[gobject-introspection] Extend the hack towards backslashes as path separators
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Extend the hack towards backslashes as path separators
- Date: Sat, 22 Feb 2014 23:17:18 +0000 (UTC)
commit 798712445a121ec409da67b10aff3fcc99698aec
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Fri Feb 21 11:14:35 2014 +0000
Extend the hack towards backslashes as path separators
https://bugzilla.gnome.org/show_bug.cgi?id=724877
giscanner/utils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/utils.py b/giscanner/utils.py
index abd1a26..c0d49d2 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]