diff options
| author | Jackie Huang <jackie.huang@windriver.com> | 2015-01-16 14:14:01 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-03-11 19:19:32 -0400 |
| commit | 3e6e606cdce1959c7efe36f62d1b621f4a54c6e9 (patch) | |
| tree | 3ca52657f013be743f093f00cec6ab5f806f5293 /meta-networking | |
| parent | 356c792b1bf70141bd75e11353d8f3b146aaee52 (diff) | |
| download | meta-openembedded-3e6e606cdce1959c7efe36f62d1b621f4a54c6e9.tar.gz | |
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.
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp/fix-libtool-finish.patch | 25 | ||||
| -rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb | 1 |
2 files changed, 26 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 0000000000..a360c3a120 --- /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 = : | ||
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb index bf67216a40..7b9730a6c3 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb | |||
| @@ -16,6 +16,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ | |||
| 16 | file://snmptrapd.service \ | 16 | file://snmptrapd.service \ |
| 17 | file://ifmib.patch \ | 17 | file://ifmib.patch \ |
| 18 | file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \ | 18 | file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \ |
| 19 | file://fix-libtool-finish.patch \ | ||
| 19 | " | 20 | " |
| 20 | 21 | ||
| 21 | SRC_URI[md5sum] = "a2c83518648b0f2a5d378625e45c0e18" | 22 | SRC_URI[md5sum] = "a2c83518648b0f2a5d378625e45c0e18" |
