| From 27444fbf8323679ea0551a3bd5f04c365143d8c0 Mon Sep 17 00:00:00 2001 |
| From: "Roy.Li" <rongqing.li@windriver.com> |
| Date: Fri, 16 Jan 2015 14:14:01 +0800 |
| Subject: [PATCH] net-snmp: fix "libtool --finish" |
| |
| LIB_LDCONFIG_CMD failed since it is using a host dir $(libdir) |
| which is /usr/lib64 does not exist on host when compile 64bit |
| image. |
| |
| In fact, configuring dynamic linker run-time bindings is meaningless |
| at this step, If it is needed, Poky would write ldconfig scripts to |
| rpm-postinst for each recipe while do_package, in package.bbclass. |
| |
| Upstream-Status: Inappropriate [cross compile specific] |
| |
| Signed-off-by: Roy.Li <rongqing.li@windriver.com> |
| |
| --- |
| Makefile.top | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/Makefile.top b/Makefile.top |
| index 6315401..fc0ee06 100644 |
| --- a/Makefile.top |
| +++ b/Makefile.top |
| @@ -89,7 +89,7 @@ LIBREVISION = 0 |
| LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o |
| LIB_EXTENSION = la |
| LIB_VERSION = |
| -LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(INSTALL_PREFIX)$(libdir) |
| +LIB_LDCONFIG_CMD = echo "do not ldconfig\n" |
| LINK = $(LIBTOOL) --mode=link $(LINKCC) |
| # RANLIB = @RANLIB@ |
| RANLIB = : |