diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-08-25 11:28:41 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-07-22 16:12:01 +0800 |
commit | 0c22de3cbaed509851c5e69653ebda5f85a45b77 (patch) | |
tree | 86eb6c8f0cd419ed9060fb29e33e96bf90b47a4b /tests/scanner/drawable.c | |
parent | f0762055da8d2007a6b4881c5925b049bb17a101 (diff) | |
download | gobject-introspection-0c22de3cbaed509851c5e69653ebda5f85a45b77.tar.gz |
dumper.py: Use Distutils to Build Dumper Program
Add compiler() and link() functions in ccompiler.py to call
distutil.ccompiler's compile() and link() functions, so that we can in turn
call them from dumper.py to build the dumper program. As distutils don't
get along well with libtool libraries (ie .la files), we can deduce the
libraries to link from using the file name .la file and include
$(builddir)/.libs in the linking stage.
For MSVC builds, we need to ignore mt.exe failing to find a .exe.manifest
file as Visual Studio 2010+ do not generate such files during linking, and
it is done by distutils as Python 2.7.x is built with Visual Studio 2008,
which do generate such manifest files during the build.
https://bugzilla.gnome.org/show_bug.cgi?id=728313
Diffstat (limited to 'tests/scanner/drawable.c')
0 files changed, 0 insertions, 0 deletions