mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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>
This commit is contained in:
committed by
Joe MacDonald
parent
356c792b1b
commit
3e6e606cdc
@@ -0,0 +1,25 @@
|
|||||||
|
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>
|
||||||
|
---
|
||||||
|
diff --git a/Makefile.top b/Makefile.top
|
||||||
|
index 862fb94..ed7dcfc 100644
|
||||||
|
--- a/Makefile.top
|
||||||
|
+++ b/Makefile.top
|
||||||
|
@@ -86,7 +86,7 @@ LIBREVISION = 2
|
||||||
|
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 = :
|
||||||
@@ -16,6 +16,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \
|
|||||||
file://snmptrapd.service \
|
file://snmptrapd.service \
|
||||||
file://ifmib.patch \
|
file://ifmib.patch \
|
||||||
file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \
|
file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \
|
||||||
|
file://fix-libtool-finish.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "a2c83518648b0f2a5d378625e45c0e18"
|
SRC_URI[md5sum] = "a2c83518648b0f2a5d378625e45c0e18"
|
||||||
|
|||||||
Reference in New Issue
Block a user