[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Package for multiple Python versions



* Mitar <mmitar@gmail.com>, 2011-09-11, 01:37:
I also see that we link against libpython which should not be done, according to Debian Python Policy 2.1. But this is what cmake's FindPythonLibrary.cmake find. Is there some generic way to change this?

I don't think there's any sane way. If you don't mind a bit on insanity ;) this is what I did in one of my packages (after running cmake):

find . -name 'link.txt' -exec sed -i -e 's/ -lpython[0-9.]\+ / /g'

There are other problems with cmake Python support:
http://bugs.debian.org/580503

--
Jakub Wilk


Reply to: