mailr23785 - /trunk/sconstruct


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on June 10, 2014 - 12:23:
Author: tlinnet
Date: Tue Jun 10 12:23:01 2014
New Revision: 23785

URL: http://svn.gna.org/viewcvs/relax?rev=23785&view=rev
Log:
Fix for wrong path testing of Python.h.

Python.h would be in PYTHON_PREFIX/include/pythonX.Y/Python.h
and not in:
PYTHON_PREFIX/include/Python.h

Modified:
    trunk/sconstruct

Modified: trunk/sconstruct
URL: 
http://svn.gna.org/viewcvs/relax/trunk/sconstruct?rev=23785&r1=23784&r2=23785&view=diff
==============================================================================
--- trunk/sconstruct    (original)
+++ trunk/sconstruct    Tue Jun 10 12:23:01 2014
@@ -573,7 +573,7 @@
         py_include_fullpath = py_include_minpath + path.sep + 'python' + 
`sys.version_info[0]` + '.' + `sys.version_info[1]`
 
         # Test if Python.h resides here.
-        f_name_pyth = py_include_minpath + path.sep + 'Python.h'
+        f_name_pyth = py_include_fullpath + path.sep + 'Python.h'
         if not access(f_name_pyth, F_OK):
 
             # Test if 'PYTHON_INCLUDE_DIR' has been set to system 
environment.




Related Messages


Powered by MHonArc, Updated Tue Jun 10 12:40:02 2014