[OE-core] [PATCH] socat: forcibly disable use of libbsd

Ross Burton ross.burton at intel.com
Fri Jan 9 16:42:17 UTC 2015


Socat will look for openpty() in BSD headers before Linux headers, so if libbsd
is present at configure time then that will be used.  We don't need to depend on
libbsd though, and leaving it floating can cause build errors, so tell configure
that the libbsd header isn't present.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-connectivity/socat/socat_1.7.2.4.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/socat/socat_1.7.2.4.bb b/meta/recipes-connectivity/socat/socat_1.7.2.4.bb
index f4461de..9e43e16 100644
--- a/meta/recipes-connectivity/socat/socat_1.7.2.4.bb
+++ b/meta/recipes-connectivity/socat/socat_1.7.2.4.bb
@@ -27,6 +27,7 @@ EXTRA_AUTORECONF += "--exclude=autoheader"
 EXTRA_OECONF += "ac_cv_have_z_modifier=yes sc_cv_sys_crdly_shift=9 \
         sc_cv_sys_tabdly_shift=11 sc_cv_sys_csize_shift=4 \
         ac_cv_ispeed_offset=13 \
+        ac_cv_header_bsd_libutil_h=no \
 "
 
 PACKAGECONFIG ??= "tcp-wrappers"
-- 
1.7.10.4




More information about the Openembedded-core mailing list