Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | LIB_LDCONFIG_CMD failed since it is using a host dir $(libdir) |
| 2 | which is /usr/lib64 does not exist on host when compile 64bit |
| 3 | image. |
| 4 | |
| 5 | In fact, configuring dynamic linker run-time bindings is meaningless |
| 6 | at this step, If it is needed, Poky would write ldconfig scripts to |
| 7 | rpm-postinst for each recipe while do_package, in package.bbclass. |
| 8 | |
| 9 | Upstream-Status: Inappropriate [cross compile specific] |
| 10 | |
| 11 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> |
| 12 | --- |
| 13 | diff --git a/Makefile.top b/Makefile.top |
| 14 | index 862fb94..ed7dcfc 100644 |
| 15 | --- a/Makefile.top |
| 16 | +++ b/Makefile.top |
| 17 | @@ -86,7 +86,7 @@ LIBREVISION = 2 |
| 18 | LIB_LD_CMD = $(LIBTOOL) --mode=link $(LINKCC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o |
| 19 | LIB_EXTENSION = la |
| 20 | LIB_VERSION = |
| 21 | -LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(INSTALL_PREFIX)$(libdir) |
| 22 | +LIB_LDCONFIG_CMD = echo "do not ldconfig\n" |
| 23 | LINK = $(LIBTOOL) --mode=link $(LINKCC) |
| 24 | # RANLIB = @RANLIB@ |
| 25 | RANLIB = : |