summaryrefslogtreecommitdiff
path: root/giscanner/shlibs.py
Commit message (Collapse)AuthorAgeFilesLines
* OpenBSD uses it's own libtool implementation which breaks giscanner in certainJasper Lievisse Adriaanse2011-11-181-0/+14
| | | | | | situations. So adjust resolve_non_libtool() in this case. https://bugzilla.gnome.org/show_bug.cgi?id=664282
* Windows port: fix _resolve_non_libtoolDieter Verfaillie2011-10-201-25/+32
| | | | | | By simply appending '.dll' to the library names. https://bugzilla.gnome.org/show_bug.cgi?id=620566
* [shlib] Use ldd on all non-Darwin platformsJohan Dahlin2010-06-061-4/+1
|
* [shlibs] Make pep8.py happyJohan Dahlin2010-06-051-1/+1
|
* [scanner] Barf if running on unsupported platformJohan Dahlin2010-06-041-3/+7
| | | | | Let us know explicitly if the platform is unsupported by the scanner.
* use "otool -L" instead of "ldd" on DarwinAlexey Zakhlestin2010-06-041-1/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=606686
* Support passing --library=lib<foo>.laOwen W. Taylor2009-08-171-11/+41
| | | | | | | | | | | | | | | | In addition to the current --library=<foo>, support --library=lib<foo>.la. This makes it unambiguous that we are referencing an uninstalled library and allows accurate extraction of the shared library name for the uninstalled library. * tests/scanner/Makefile.am tests/offsets/Makefile.am: Use the new form of --library=. Also some LD_LIBRARY_PATH frobbing as needed. *-expected.gir *-expected.tgir: We now pick out the shared library accurately, so fix shared-library="" in our reference girs. (The comparison may need some pre-sanitization now to work on non-ELF) http://bugzilla.gnome.org/show_bug.cgi?id=591669
* Resolve library names to shared libraries ourselvesOwen W. Taylor2009-08-171-0/+77
Using ctypes.util.find_library() to resolve library names to sonames causes problems with dealing with uninstalled libtool operation properly. We're unlikely to find any way of combining the two that will be robust against future changes in both facilities. Switch to a different approach - run 'ldd' on the compiled introspection binary and extract sonames from there This is less portable but should be quite robust where it works. utils.py dumper.py: Move libtool-command-line finding into utils.py girwriter.py: Remove library name resolution from here, expect libraries to be passed in preresolved. shlibs.py scannermain.py: New file including resolve_shlibs() to resolve library names using the introspection binary. tests/scanner/Makefile.am: Add .libs to LD_LIBRARY_PATH http://bugzilla.gnome.org/show_bug.cgi?id=591669