1From 73edfbdf33fe4e41724e7e947033d8caeec8f3d0 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 7 Mar 2020 08:34:02 -0800
4Subject: [PATCH] nss:no rpath for cross compiling
5
6Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
7Upstream-Status: Inappropriate [configuration]
8
9---
10 nss/cmd/platlibs.mk | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/nss/cmd/platlibs.mk b/nss/cmd/platlibs.mk
14index 6401778..e5c4e16 100644
15--- a/nss/cmd/platlibs.mk
16+++ b/nss/cmd/platlibs.mk
17@@ -18,9 +18,9 @@ endif
18
19 ifeq ($(OS_ARCH), Linux)
20 ifeq ($(USE_64), 1)
21-EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib64:/opt/sun/private/lib64:$$ORIGIN/../lib'
22+#EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib64:/opt/sun/private/lib64:$$ORIGIN/../lib'
23 else
24-EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib:/opt/sun/private/lib'
25+#EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib:/opt/sun/private/lib'
26 endif
27 endif
28
29