blob: 6e224188a4696419f073eb6f0edd3c124ed1a4fc [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From 6d655ba677563ac9d62d4d8eee59fdb39d486c02 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
Patrick Williams92b42cb2022-09-03 06:53:57 -050017index f1cbbf5..1545be3 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018--- a/Makefile.in
19+++ b/Makefile.in
Patrick Williams92b42cb2022-09-03 06:53:57 -050020@@ -173,7 +173,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