summaryrefslogtreecommitdiff
path: root/weave/ext_tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'weave/ext_tools.py')
-rw-r--r--weave/ext_tools.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/weave/ext_tools.py b/weave/ext_tools.py
index 436a068c5..6d21e11ef 100644
--- a/weave/ext_tools.py
+++ b/weave/ext_tools.py
@@ -307,10 +307,15 @@ class ext_module:
# add internally specified macros, includes, etc. to the key words
# values of the same names so that distutils will use them.
- kw['define_macros'] = kw.get('define_macros',[]) + info.define_macros()
+ kw['define_macros'] = kw.get('define_macros',[]) + \
+ info.define_macros()
kw['include_dirs'] = kw.get('include_dirs',[]) + info.include_dirs()
kw['libraries'] = kw.get('libraries',[]) + info.libraries()
kw['library_dirs'] = kw.get('library_dirs',[]) + info.library_dirs()
+ kw['extra_compile_args'] = kw.get('extra_compile_args',[]) + \
+ info.extra_compile_args()
+ kw['extra_link_args'] = kw.get('extra_link_args',[]) + \
+ info.extra_link_args()
file = self.generate_file(location=location)
# This is needed so that files build correctly even when different