blob: 26dd014ce4b34c940c23016da56930330ea4be88 [file] [log] [blame]
Andrew Geisslerd688a012020-09-18 13:36:00 -05001From 27444fbf8323679ea0551a3bd5f04c365143d8c0 Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: "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
Andrew Geisslerd688a012020-09-18 13:36:00 -050023index 6315401..fc0ee06 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024--- 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 = :