diff options
author | Johan Dahlin <johan@gnome.org> | 2008-10-21 14:51:33 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-10-21 14:51:33 +0000 |
commit | 92c3708208b068139f3bdc9a9783244d5b4b4b8c (patch) | |
tree | 6853f3b08ad9e91b603e271cb53922beff47b4b5 /giscanner/utils.py | |
parent | d317722b94d3d7a5f68c68fe1c1f90fea3cb81f3 (diff) | |
download | gobject-introspection-92c3708208b068139f3bdc9a9783244d5b4b4b8c.tar.gz |
Bug 556358 - don't use libtool internals
2008-10-21 Johan Dahlin <johan@gnome.org>
Bug 556358 - don't use libtool internals
* giscanner/Makefile.am:
* giscanner/libtoolimporter.py:
* giscanner/sourcescanner.py:
* giscanner/utils.py:
Add a python meta importer and remove a libtool symlink hack.
svn path=/trunk/; revision=767
Diffstat (limited to 'giscanner/utils.py')
-rw-r--r-- | giscanner/utils.py | 4 |
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 |