gobject-introspection r435 - in trunk: . giscanner



Author: johan
Date: Thu Aug 21 13:33:08 2008
New Revision: 435
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=435&view=rev

Log:
2008-08-21  Johan Dahlin  <johan gnome org>

    * giscanner/glibtransformer.py:
    Do not send .la files through find_library.



Modified:
   trunk/ChangeLog
   trunk/giscanner/glibtransformer.py

Modified: trunk/giscanner/glibtransformer.py
==============================================================================
--- trunk/giscanner/glibtransformer.py	(original)
+++ trunk/giscanner/glibtransformer.py	Thu Aug 21 13:33:08 2008
@@ -55,9 +55,11 @@
     # Public API
 
     def add_library(self, libname):
+        # For testing mainly.
         if libname.endswith('.la'):
             libname = extract_libtool(libname)
-        libname = find_library(libname)
+        else:
+            libname = find_library(libname)
         self._libraries.append(ctypes.cdll.LoadLibrary(libname))
 
     def parse(self):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]