Message ID | CAFbHwiS_oCLGfi5Pt4UGqVKsjT5j_bG5MTOKm7rGJm9+Pi_wAA@mail.gmail.com |
---|---|
State | Accepted, archived |
Headers | show |
Le Wed, 28 Mar 2012 15:00:36 +0100, Will Newton <will.newton@gmail.com> a écrit : > I think I may have a solution. It looks like Red Hat (and hence > CentOS) remove support for LD_RUN_PATH by default: > > https://bugzilla.redhat.com/show_bug.cgi?id=136009 > > However there is a flag to turn it back on. Setting this seems to get > me a sane runpath. Does this look ok? I assume it will silently do > nothing on non-RH systems. Ah, ah, it looks like a very good solution indeed. Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Thanks for the time you have spent investigating this problem! Thomas
diff --git a/package/libxml-parser-perl/libxml-parser-perl.mk b/package/libxml-parser-perl/libxml-parser-perl.mk index 9e6f2ec..70d0918 100644 --- a/package/libxml-parser-perl/libxml-parser-perl.mk +++ b/package/libxml-parser-perl/libxml-parser-perl.mk @@ -18,6 +18,7 @@ define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS INSTALLDIRS=site \ INSTALLSITELIB=$(HOST_DIR)/usr/lib/perl \ INSTALLSITEARCH=$(HOST_DIR)/usr/lib/perl \ + USE_MM_LD_RUN_PATH=1 \ ) endef