On 04/09/2011 23:39, Josselin Mouette wrote:
> Heya,
> 
> Le dimanche 04 septembre 2011 à 23:24 +0200, Vincent Danjean a écrit
> :
>> One of my package is building a python extension (with swig). I
>> would like to know what is the right way to find the correct
>> linkage for a python version. My package is using "python-configX.Y
>> --libs", so -lpythonX.Y is added.
> 
> Your package is wrong. The python-config script is for linking the 
> interpreter into a binary, not for building extensions.
> 
> Extensions must not link to libpython by themselves.

Thanks. I will correct this in my package and report upstream.

  Regards,
    Vincent

> Cheers,


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e647d62.1030...@debian.org

Reply via email to