1From ab1d77c52e84746e75506a2870783806bc77f396 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 6LIB_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> 17 18--- 19 Makefile.top | 2 +- 20 1 file changed, 1 insertion(+), 1 deletion(-) 21 22diff --git a/Makefile.top b/Makefile.top 23index a962c54..1ba5607 100644 24--- a/Makefile.top 25+++ b/Makefile.top 26@@ -89,7 +89,7 @@ LIBREVISION = 0 27 LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) @LD_NO_UNDEFINED@ -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 = : 35