On Sunday 04 August 2013 18:51:10 Thiago Macieira wrote:
> On domingo, 4 de agosto de 2013 10:20:51, Dmitry Ashkadov wrote:
> > LDD finds library using RPATH first of all, so, for local installed Qt5
> 
> That's why RPATH was deprecated and replaced with RUNPATH.

Stupid question: is there a reason the default Makefile generated by qmake 
does not include this:
QMAKE_LFLAGS += -Wl,--enable-new-dtags

This would generate DT_RPATH as well as an identical DT_RUNPATH, which would 
lead to more useful binaries on modern (as in: less than 10 years old) ELF 
systems, because RUNPATH behavior takes precedence over RPATH if the system 
understands it (according to man ld).


        Konrad

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to