diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-12-08 19:09:45 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-12-08 19:16:09 +0100 |
commit | 650ed1c8bd461e0ab30108a755a753c9fd46e7bf (patch) | |
tree | 7f061f33b82ecbc5e9f8949d095e62f9c329e272 /giscanner/ccompiler.py | |
parent | 7c770ea4bbd0ddbb4f97551d05e884af4a9f8b21 (diff) | |
download | gobject-introspection-650ed1c8bd461e0ab30108a755a753c9fd46e7bf.tar.gz |
Drop all Python 2 compat code
We only support 3.4+ now.
Diffstat (limited to 'giscanner/ccompiler.py')
-rw-r--r-- | giscanner/ccompiler.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py index d327c581..5db04535 100644 --- a/giscanner/ccompiler.py +++ b/giscanner/ccompiler.py @@ -271,10 +271,6 @@ class CCompiler(object): args.append('dumpbin.exe') args.append('-symbols') - # Work around the attempt to resolve m.lib on Python 2.x - if sys.version_info.major < 3: - libraries[:] = [lib for lib in libraries if lib != 'm'] - # When we are not using Visual C++ (i.e. we are using GCC)... else: libtool = utils.get_libtool_command(options) |