From ce8ec4c173adbf4557d2822fd7ae14fb63c71c80 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 22 Dec 2005 14:20:28 +0000 Subject: [PATCH] Enable shared libraries for python --- config_files/Python-2.3.4.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2