[PyQt] patch to support non-default libdir

Rex Dieter rdieter at math.unl.edu
Mon Jan 24 16:58:33 GMT 2011


Rex Dieter wrote:

> 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,

>> 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).

OK, here's an alternative implementation that looks @ LIBDIR in addition to 
searching exec_prefix/lib

-- Rex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyQt-x11-gpl-4.8.3-python_libdir.patch
Type: text/x-patch
Size: 1639 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110124/7e29be25/attachment.bin>


More information about the PyQt mailing list