aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2018-01-19 12:53:14 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2018-01-19 13:34:02 +0000
commite6b79591c306ba947f75787e1970f2ec9b3a6633 (patch)
tree43e556421adb9a8e7ed7c50dc373033615e9a2d8
parentc822716087434e9bd44604ff51d638ca62d840dd (diff)
downloadmeta-openembedded-contrib-jansa/spice.zip
meta-openembedded-contrib-jansa/spice.tar.gz
meta-openembedded-contrib-jansa/spice.tar.bz2
spice: fix nativesdk build with security-flags includedjansa/spice
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-networking/recipes-support/spice/spice_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb
index 1b65d6f..257159f 100644
--- a/meta-networking/recipes-support/spice/spice_git.bb
+++ b/meta-networking/recipes-support/spice/spice_git.bb
@@ -35,6 +35,10 @@ inherit autotools gettext pythonnative python-dir pkgconfig
DEPENDS += "spice-protocol jpeg pixman alsa-lib glib-2.0 python-pyparsing-native python-six-native glib-2.0-native"
DEPENDS_append_class-nativesdk = "nativesdk-openssl"
+# Otherwise nativesdk-spice fails like this:
+# http://errors.yoctoproject.org/Errors/Details/164866/
+LDFLAGS_append_class-nativesdk = " -lssp"
+
export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages"