summaryrefslogtreecommitdiff
path: root/giscanner/ccompiler.py
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-12-08 19:09:45 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-12-08 19:16:09 +0100
commit650ed1c8bd461e0ab30108a755a753c9fd46e7bf (patch)
tree7f061f33b82ecbc5e9f8949d095e62f9c329e272 /giscanner/ccompiler.py
parent7c770ea4bbd0ddbb4f97551d05e884af4a9f8b21 (diff)
downloadgobject-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.py4
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)