author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Thu, 25 Aug 2011 19:24:06 +0100 | |
changeset 7462 | 287082f2be5c |
parent 7461 | 31a035594f68 |
child 7463 | 53b784adf3f4 |
--- a/bindings/python/wscript Thu Aug 25 06:36:33 2011 -0400 +++ b/bindings/python/wscript Thu Aug 25 19:24:06 2011 +0100 @@ -25,6 +25,15 @@ from python import _get_python_variables # this comes from wafadmin/Tools/python.py +# Patch a bug in waf-1.5.16's python detection, see +# https://www.nsnam.org/bugzilla/show_bug.cgi?id=1250 +import python +python.FRAG_2 = """ +#include <Python.h> +""" + python.FRAG_2 +del python + + def add_to_python_path(path): if os.environ.get('PYTHONPATH', ''):