summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/bcppcompiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/bcppcompiler.py')
-rw-r--r--Lib/distutils/bcppcompiler.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/Lib/distutils/bcppcompiler.py b/Lib/distutils/bcppcompiler.py
index 6e9d6c6..abe302a 100644
--- a/Lib/distutils/bcppcompiler.py
+++ b/Lib/distutils/bcppcompiler.py
@@ -146,8 +146,7 @@ class BCPPCompiler(CCompiler) :
output_libname,
output_dir=None,
debug=0,
- extra_preargs=None,
- extra_postargs=None):
+ target_lang=None):
(objects, output_dir) = self._fix_object_args (objects, output_dir)
output_filename = \
@@ -157,10 +156,6 @@ class BCPPCompiler(CCompiler) :
lib_args = [output_filename, '/u'] + objects
if debug:
pass # XXX what goes here?
- if extra_preargs:
- lib_args[:0] = extra_preargs
- if extra_postargs:
- lib_args.extend (extra_postargs)
try:
self.spawn ([self.lib] + lib_args)
except DistutilsExecError, msg:
@@ -183,7 +178,8 @@ class BCPPCompiler(CCompiler) :
debug=0,
extra_preargs=None,
extra_postargs=None,
- build_temp=None):
+ build_temp=None,
+ target_lang=None):
# XXX this ignores 'build_temp'! should follow the lead of
# msvccompiler.py