Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | From ab1d77c52e84746e75506a2870783806bc77f396 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 2 | From: "Roy.Li" <rongqing.li@windriver.com> |
| 3 | Date: Fri, 16 Jan 2015 14:14:01 +0800 |
| 4 | Subject: [PATCH] net-snmp: fix "libtool --finish" |
| 5 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | LIB_LDCONFIG_CMD failed since it is using a host dir $(libdir) |
| 7 | which is /usr/lib64 does not exist on host when compile 64bit |
| 8 | image. |
| 9 | |
| 10 | In fact, configuring dynamic linker run-time bindings is meaningless |
| 11 | at this step, If it is needed, Poky would write ldconfig scripts to |
| 12 | rpm-postinst for each recipe while do_package, in package.bbclass. |
| 13 | |
| 14 | Upstream-Status: Inappropriate [cross compile specific] |
| 15 | |
| 16 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | --- |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | Makefile.top | 2 +- |
| 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 21 | |
| 22 | diff --git a/Makefile.top b/Makefile.top |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 23 | index a962c54..1ba5607 100644 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 24 | --- a/Makefile.top |
| 25 | +++ b/Makefile.top |
| 26 | @@ -89,7 +89,7 @@ LIBREVISION = 0 |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 27 | LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) @LD_NO_UNDEFINED@ -o |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 = : |