]> git.pld-linux.org Git - packages/lcms.git/blame - lcms-python.patch
- really fix python install
[packages/lcms.git] / lcms-python.patch
CommitLineData
2c5ebcc4 1--- lcms-1.18/configure.ac.orig 2009-03-20 15:54:17.000000000 +0100
2+++ lcms-1.18/configure.ac 2009-03-26 18:12:35.969151477 +0100
711a6c1a
JR
3@@ -96,9 +96,9 @@
4 if test -n "$PYTHON"
5 then
2c5ebcc4 6 LCMS_PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
711a6c1a
JR
7- LCMS_PYEXECDIR=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1)"`
8+ LCMS_PYEXECDIR=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='${prefix}')"`
2c5ebcc4 9 LCMS_PYINCLUDE=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_inc()"`
10- LCMS_PYLIB=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,1)"`
711a6c1a 11+ LCMS_PYLIB=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='${prefix}')"`
2c5ebcc4 12 AC_CHECK_FILE([$LCMS_PYINCLUDE/Python.h],PYTHON_OK='yes',PYTHON_OK='no')
13 AC_SUBST(LCMS_PYEXECDIR)
14 AC_SUBST(LCMS_PYINCLUDE)
This page took 0.114805 seconds and 5 git commands to generate.