Bug 1224 - Ns-3-allinone fails to compile on Lion

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2011-08-07 16:52:49 +01:00
1 parent 22daac5b20
commit eb09115944
3 files changed
+24 -7

No files matched your search

+4 -2
View File
@@ -353,7 +353,9 @@ def ns3_python_bindings(bld):
#if not debug:
# target.append('ns3modulegen.log')
argv = ['NS3_ENABLED_FEATURES=${FEATURES}', '${PYTHON}']
argv = ['NS3_ENABLED_FEATURES=${FEATURES}',
'GCC_RTTI_ABI_COMPLETE=${GCC_RTTI_ABI_COMPLETE}',
'${PYTHON}']
#if debug:
# argv.extend(["-m", "pdb"])
@@ -368,7 +370,7 @@ def ns3_python_bindings(bld):
bindgen = bld.new_task_gen('command', source=source, target=target, command=argv)
bindgen.env['FEATURES'] = ','.join(features)
bindgen.dep_vars = ['FEATURES']
bindgen.dep_vars = ['FEATURES', "GCC_RTTI_ABI_COMPLETE"]
bindgen.before = 'cxx'
bindgen.after = 'gen_ns3_module_header_task'
bindgen.name = "pybindgen(ns3 module %s)" % module