diff options
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 9c2ffb2c74..5466649a82 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | |||
@@ -124,11 +124,14 @@ do_install_append() { | |||
124 | -i ${D}${bindir}/net-snmp-create-v3-user | 124 | -i ${D}${bindir}/net-snmp-create-v3-user |
125 | sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \ | 125 | sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \ |
126 | -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \ | 126 | -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \ |
127 | -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \ | ||
127 | -e 's@[^ ]*--sysroot=[^ "]*@@g' \ | 128 | -e 's@[^ ]*--sysroot=[^ "]*@@g' \ |
128 | -e 's@[^ ]*--with-libtool-sysroot=[^ "]*@@g' \ | 129 | -e 's@[^ ]*--with-libtool-sysroot=[^ "]*@@g' \ |
129 | -e 's@[^ ]*--with-install-prefix=[^ "]*@@g' \ | 130 | -e 's@[^ ]*--with-install-prefix=[^ "]*@@g' \ |
130 | -e 's@[^ ]*PKG_CONFIG_PATH=[^ "]*@@g' \ | 131 | -e 's@[^ ]*PKG_CONFIG_PATH=[^ "]*@@g' \ |
131 | -e 's@[^ ]*PKG_CONFIG_LIBDIR=[^ "]*@@g' \ | 132 | -e 's@[^ ]*PKG_CONFIG_LIBDIR=[^ "]*@@g' \ |
133 | -e 's@-L${STAGING_DIR_HOST}${libdir}@@g' \ | ||
134 | -e 's@-I${STAGING_DIR_HOST}${includedir}@@g' \ | ||
132 | -i ${D}${bindir}/net-snmp-config | 135 | -i ${D}${bindir}/net-snmp-config |
133 | 136 | ||
134 | if [ "${HAS_PERL}" = "1" ]; then | 137 | if [ "${HAS_PERL}" = "1" ]; then |