changeset 5:efffcee80e03

Uploaded
author bgruening
date Wed, 15 May 2013 15:16:57 -0400
parents dc6a907dd737
children ccda1b8ebc72
files tool_dependencies.xml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue May 14 16:28:40 2013 -0400
+++ b/tool_dependencies.xml	Wed May 15 15:16:57 2013 -0400
@@ -17,7 +17,7 @@
                 <!--
                     Huge hack, to point to the actual python lib path. Cmake gets confused with mixed python versions (2.x and 3.x) and we need to point explicitely to the recent version.
                 -->
-                <action type="shell_command">cmake . -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN3_INCLUDE_DIR=$EIGEN3_SOURCE_PATH -DPYTHON_LIBRARY=`python -c 'import sys; print "%s/lib/python%s.%s/config/libpython%s.%s.so" % (sys.exec_prefix, sys.version_info.major, sys.version_info.minor, sys.version_info.major, sys.version_info.minor)'`</action>
+                <action type="shell_command">cmake . -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN3_INCLUDE_DIR=$EIGEN3_SOURCE_PATH -DPYTHON_LIBRARY=`python -c 'import distutils.sysconfig; print "%s/libpython%s.so" % (distutils.sysconfig.get_config_var("LIBPL"), distutils.sysconfig.get_python_version())'`</action>
                 <action type="shell_command">make</action>
                 <action type="shell_command">make install</action>
                 <action type="set_environment">