[meta-freescale] Help with redundant RPATH /usr/lib

Lewis, Nick nick.lewis at usa.g4s.com
Tue Apr 23 06:13:36 PDT 2013


>Its certainly better, yes. libdir might not always equal /usr/lib of course, in libtool it compared against the system search path list

So @RPATH@$(LIBDIR) is always wrong because if it is in libdir then it need not be on rpath?

Should it unconditionally be just:
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LIBXAR) @LIBS@

@RPATH@ is set for bsd and solaris in addition to linux. Do different rpath rules apply for these or can I look to upstream the removal of @RPATH@$(LIBDIR)

--
Nick


The details of this company are as follows:
G4S Technology Limited, Registered Office: Challenge House, International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. 2382338.

This communication may contain information which is confidential, personal and/or privileged.

It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited.

Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them.

Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity.

This e-mail has been scanned for all viruses by MessageLabs.


More information about the meta-freescale mailing list