[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4332/8267] socat: support native compilation



commit f98baa62e517232e3da429c9452c0fef442f6e3d
Author: Patrick Ohly <patrick ohly intel com>
Date:   Mon Jan 23 15:17:04 2017 +0100

    socat: support native compilation
    
    This is needed for building the swtpm TPM simulator (recipe
    in meta-security).
    
    Native compilation disables tcp-wrappers by default to simplify
    the build.
    
    "nativesdk" is added just in case that someone also wants this
    in an SDK.
    
    (From OE-Core rev: a33a252462e2d7b90a1c89e42a96b9696eb08b23)
    
    Signed-off-by: Patrick Ohly <patrick ohly intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-connectivity/socat/socat_1.7.3.1.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-connectivity/socat/socat_1.7.3.1.bb 
b/meta/recipes-connectivity/socat/socat_1.7.3.1.bb
index 4da6d39..a579f1e 100644
--- a/meta/recipes-connectivity/socat/socat_1.7.3.1.bb
+++ b/meta/recipes-connectivity/socat/socat_1.7.3.1.bb
@@ -29,10 +29,13 @@ EXTRA_OECONF += "ac_cv_have_z_modifier=yes \
         ac_cv_header_bsd_libutil_h=no \
 "
 
-PACKAGECONFIG ??= "tcp-wrappers"
+PACKAGECONFIG_class-target ??= "tcp-wrappers"
+PACKAGECONFIG ??= ""
 PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
 
 do_install_prepend () {
     mkdir -p ${D}${bindir}
     install -d ${D}${bindir} ${D}${mandir}/man1
 }
+
+BBCLASSEXTEND = "native nativesdk"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]