libxml-parser-perl: Pass USE_MM_LD_RUN_PATH to MakeMaker.
authorWill Newton <will.newton@gmail.com>
Fri, 30 Mar 2012 08:04:52 +0000 (09:04 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 30 Mar 2012 08:11:40 +0000 (10:11 +0200)
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.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libxml-parser-perl/libxml-parser-perl.mk

index 1022302bb9bf8935e38dcf93510c4d439339c873..0d02981c2976974e46fe19bc58d2b2549d69dfe7 100644 (file)
@@ -24,6 +24,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