blob: fc3ac2a4ba9a7772e5e310a98280edad715d30c1 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 0becb4843a40910d5ec9aa11969d4905a22037cf Mon Sep 17 00:00:00 2001
2From: "Roy.Li" <rongqing.li@windriver.com>
3Date: Fri, 16 Jan 2015 14:14:01 +0800
4Subject: [PATCH] net-snmp: fix "libtool --finish"
5
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006LIB_LDCONFIG_CMD failed since it is using a host dir $(libdir)
7which is /usr/lib64 does not exist on host when compile 64bit
8image.
9
10In fact, configuring dynamic linker run-time bindings is meaningless
11at this step, If it is needed, Poky would write ldconfig scripts to
12rpm-postinst for each recipe while do_package, in package.bbclass.
13
14Upstream-Status: Inappropriate [cross compile specific]
15
16Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080017
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018---
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019 Makefile.top | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/Makefile.top b/Makefile.top
23index 5d4f9bc..d0ed31c 100644
24--- a/Makefile.top
25+++ b/Makefile.top
26@@ -89,7 +89,7 @@ LIBREVISION = 0
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027 LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
28 LIB_EXTENSION = la
29 LIB_VERSION =
30-LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(INSTALL_PREFIX)$(libdir)
31+LIB_LDCONFIG_CMD = echo "do not ldconfig\n"
32 LINK = $(LIBTOOL) --mode=link $(LINKCC)
33 # RANLIB = @RANLIB@
34 RANLIB = :