From: vsr Date: Thu, 22 Dec 2005 14:20:28 +0000 (+0000) Subject: Enable shared libraries for python X-Git-Tag: V_3_1_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ce8ec4c173adbf4557d2822fd7ae14fb63c71c80;p=tools%2Finstall.git Enable shared libraries for python --- diff --git a/config_files/Python-2.3.4.sh b/config_files/Python-2.3.4.sh index 8b4b476..f36b825 100755 --- a/config_files/Python-2.3.4.sh +++ b/config_files/Python-2.3.4.sh @@ -27,6 +27,7 @@ export PATH=\${PYTHONHOME}/bin:\${PATH} export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\` export PYTHON_INCLUDE=\${PYTHONHOME}/include/python\${PYTHON_VERSION} export PYTHONPATH=\${PYTHONHOME}/lib/python\${PYTHON_VERSION}:\${PYTHONPATH} +export LD_LIBRARY_PATH=\${PYTHONHOME}/lib:\${LD_LIBRARY_PATH} ## EOF (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR}) @@ -55,6 +56,8 @@ if [ -n "${pythonhome}" ] ; then path=`sort_path ${tmp}` tmp="\${PYTHONHOME}/lib/python\${PYTHON_VERSION} ${pythonhome}/lib/python${maj_ver}.${min_ver} \${PYTHONPATH} ${PYTHONPATH}"; pythonpath=`sort_path ${tmp}` + tmp="\${PYTHONHOME}/lib ${pythonhome}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}"; + ld_library_path=`sort_path ${tmp}` cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < _Makefile mv -f _Makefile Makefile