Skip to contentSkip to conversation

libxml-parser-perl: Pass USE_MM_LD_RUN_PATH to MakeMaker.

PATCH New Will Newton 2 participants 2 messages Mar 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxml-parser-perl: Pass USE_MM_LD_RUN_PATH to MakeMaker.

Red Hat versions of perl do not honour the setting of LD_RUN_PATH without this option. This leads to perl shared objects being installed without an rpath set which causes problems for target tools when searching for dependant shared libraries.

---
 package/libxml-parser-perl/libxml-parser-perl.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
(quoted diff) +0 -0

b/package/libxml-parser-perl/libxml-parser-perl.mk index 9e6f2ec..70d0918 100644

package/libxml-parser-perl/libxml-parser-perl.mk +1 -0
@@ -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
 
Signature · 2 lines
1.7.1
-------------- next part --------------
#1 lore raw

PATCH 1/1 libxml-parser-perl: Pass USE_MM_LD_RUN_PATH to MakeMaker.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Will" == Will Newton <[email protected]> writes:

Hi,

Will> Red Hat versions of perl do not honour the setting of LD_RUN_PATH Will> without this option. This leads to perl shared objects being installed Will> without an rpath set which causes problems for target tools when Will> searching for dependant shared libraries.

Will> Signed-off-by: Will Newton <[email protected]> Will> Acked-by: Thomas Petazzoni <[email protected]> Will> ---

 Will>  package/libxml-parser-perl/libxml-parser-perl.mk |    1 +

Will> 1 files changed, 1 insertions(+), 0 deletions(-)

Will> diff --git a/package/libxml-parser-perl/libxml-parser-perl.mk Will> b/package/libxml-parser-perl/libxml-parser-perl.mk Will> index 9e6f2ec..70d0918 100644
Will> --- a/package/libxml-parser-perl/libxml-parser-perl.mk Will> +++ b/package/libxml-parser-perl/libxml-parser-perl.mk Will> @@ -18,6 +18,7 @@ define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS

 Will>          INSTALLDIRS=site \
 Will>          INSTALLSITELIB=$(HOST_DIR)/usr/lib/perl \
 Will>          INSTALLSITEARCH=$(HOST_DIR)/usr/lib/perl \

Will> + USE_MM_LD_RUN_PATH=1 \

Indentation is wrong (spaces vs tabs), but I fixed that and committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard