Only resolve the libname to the basename of the path when passing in an absolute...
authorJohan Dahlin <johan@src.gnome.org>
Wed, 12 Nov 2008 12:12:23 +0000 (12:12 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Wed, 12 Nov 2008 12:12:23 +0000 (12:12 +0000)
svn path=/trunk/; revision=892

giscanner/glibtransformer.py

index d8639e4..f97af9f 100644 (file)
@@ -84,7 +84,6 @@ class GLibTransformer(object):
             found_libname = os.path.abspath(libname)
         elif os.path.exists(libtool_libname):
             found_libname = extract_libtool(libtool_libname)
-            libname = os.path.basename(found_libname)
         else:
             found_libname = find_library(libname)