diff options
Diffstat (limited to 'meta-networking/recipes-protocols/net-snmp/net-snmp/fix-libtool-finish.patch')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp/fix-libtool-finish.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/fix-libtool-finish.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/fix-libtool-finish.patch new file mode 100644 index 000000000..a360c3a12 --- /dev/null +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/fix-libtool-finish.patch | |||
@@ -0,0 +1,25 @@ | |||
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 = : | ||