summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/extension.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py
index a31ccbc..3737712 100644
--- a/Lib/distutils/extension.py
+++ b/Lib/distutils/extension.py
@@ -188,6 +188,8 @@ def read_setup_file (filename):
append_next_word = ext.runtime_library_dirs
elif word == "-Xlinker":
append_next_word = ext.extra_link_args
+ elif word == "-Xcompiler":
+ append_next_word = ext.extra_compile_args
elif switch == "-u":
ext.extra_link_args.append(word)
if not value: