[PyQt] patch to support non-default libdir, sys.abiflags

Rex Dieter rdieter at math.unl.edu
Fri Jan 21 13:26:19 GMT 2011


On 01/21/2011 06:24 AM, Phil Thompson wrote:
> On Thu, 20 Jan 2011 11:39:50 -0600, Rex Dieter<rdieter at math.unl.edu>
> wrote:
>> Here's another interation of a patch I sent awhile ago (which was not
>> adopted), but I think it's worth revisiting.
>>
>> It fixes linking issues on boxes where
>> 1.  libpython lives somewhere !=<prefix>/lib,
>> 2.  libpython includes sys.abiflags (new to python3).
>>
>> -- Rex
>
> get_python_lib() doesn't return the directory containing libpython.

Heh, indeed you're right, we used to need this on fedora for some 
reason. Seems our libpython is in standard linker path, so the extra -L 
is indeed superfluous (though hard-coding <prefix>/lib is still wrong in 
our case, though I haven't got a better suggestion right now).

-- Rex



More information about the PyQt mailing list