gobject-introspection r832 - in trunk: . giscanner
- From: otaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r832 - in trunk: . giscanner
- Date: Wed, 29 Oct 2008 20:36:51 +0000 (UTC)
Author: otaylor
Date: Wed Oct 29 20:36:51 2008
New Revision: 832
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=832&view=rev
Log:
2008-10-29 Owen Taylor <otaylor redhat com>
* giscanner/glibtransformer.py: If a filename of an existing
file is passed to --library, hunt for it directly, rather than
searching for a corresponding library.
Modified:
trunk/ChangeLog
trunk/giscanner/glibtransformer.py
Modified: trunk/giscanner/glibtransformer.py
==============================================================================
--- trunk/giscanner/glibtransformer.py (original)
+++ trunk/giscanner/glibtransformer.py Wed Oct 29 20:36:51 2008
@@ -80,7 +80,9 @@
def add_library(self, libname):
# For testing mainly.
libtool_libname = 'lib' + libname + '.la'
- if os.path.exists(libtool_libname):
+ if os.path.exists(libname):
+ found_libname = os.path.abspath(libname)
+ elif os.path.exists(libtool_libname):
found_libname = extract_libtool(libtool_libname)
elif libname.endswith('.la'):
found_libname = extract_libtool(libname)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]