summaryrefslogtreecommitdiff
path: root/giscanner/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/utils.py')
-rw-r--r--giscanner/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/giscanner/utils.py b/giscanner/utils.py
index d03465e3..29fb8d3b 100644
--- a/giscanner/utils.py
+++ b/giscanner/utils.py
@@ -52,6 +52,10 @@ def extract_libtool(libname):
filename = _libtool_pat.search(data).groups()[0]
libname = os.path.join(os.path.dirname(libname),
'.libs', filename)
+ # 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')
return libname