From 80ad03680a5758a2d0db462cb98552a669b5ca06 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Wed, 20 Jan 2016 20:04:26 +0000 Subject: [PATCH] ti-softhsmv2: Use target includes for zlib and openssl ti-softhsmv2 needs to look at the target include directories instead of the host include directories for zlib and openssl header files. By using STAGING_EXECPREFIXDIR we can support changes to exec_prefix. Signed-off-by: Paul Barker Signed-off-by: Denys Dmytriyenko --- recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb index c1e16545..3143acd5 100644 --- a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb +++ b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb @@ -21,7 +21,10 @@ S = "${WORKDIR}/git" CFLAGS += " -mno-unaligned-access" CPPFLAGS += " -mno-unaligned-access" -EXTRA_OECONF += "--with-zlib=${STAGING_DIR_HOST}/usr" +EXTRA_OECONF += " \ + --with-zlib=${STAGING_EXECPREFIXDIR} \ + --with-openssl=${STAGING_EXECPREFIXDIR} \ + " INITSCRIPT_NAME = "softhsm-daemon.sh" INITSCRIPT_PARAMS = "defaults 10"