blob: bfddc63dd7bd60dba3b9167e2dd472535c91bfb9 [file] [log] [blame]
Andrew Geisslerd688a012020-09-18 13:36:00 -05001From 011bdcd07f2a289d0cfc1b411c03c0cc7c42dad1 Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: Wenlin Kang <wenlin.kang@windriver.com>
3Date: Wed, 24 May 2017 17:10:20 +0800
Andrew Geisslerd688a012020-09-18 13:36:00 -05004Subject: [PATCH] configure: fix incorrect variable
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005
6For cross compile platform, this variable will not be correct, so fix it.
7
8Upstream-Status: Inappropriate [cross compile specific]
9
10Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012---
13 Makefile.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/Makefile.in b/Makefile.in
Andrew Geisslerd688a012020-09-18 13:36:00 -050017index 912f6b2..a53d1b2 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018--- a/Makefile.in
19+++ b/Makefile.in
Andrew Geisslerd688a012020-09-18 13:36:00 -050020@@ -174,7 +174,7 @@ OTHERCLEANTODOS=perlclean @PYTHONCLEANTARGS@ cleanfeatures perlcleanfeatures pyt
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021 #
22 # override LD_RUN_PATH to avoid dependencies on the build directory
23 perlmodules: perlmakefiles subdirs
24- @(cd perl ; $(MAKE) LD_RUN_PATH="$(libdir):`$(PERL) -e 'use Config; print qq($$Config{archlibexp}/CORE);'`") ; \
25+ @(cd perl ; $(MAKE) LD_RUN_PATH="$(libdir):`$(PERL) -e 'use Config; print qq($$Config{installprivlib}/CORE);'`") ; \
26 if test $$? != 0 ; then \
27 exit 1 ; \
28 fi