[meta-security] xmlsec1: Include libxmlsec1-*.so in the main package

Submitted by Adrian Bunk on Jan. 30, 2019, 9:57 a.m. | Patch ID: 158365

Details

Message ID 20190130095743.12467-1-bunk@stusta.de
State New
Headers show

Commit Message

Adrian Bunk Jan. 30, 2019, 9:57 a.m.
They can be dynamically loaded with xmlSecCryptoDLLoadLibrary().

Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 recipes-security/xmlsec1/xmlsec1_1.2.26.bb | 5 +++++
 1 file changed, 5 insertions(+)

Patch hide | download patch | download mbox

diff --git a/recipes-security/xmlsec1/xmlsec1_1.2.26.bb b/recipes-security/xmlsec1/xmlsec1_1.2.26.bb
index 2dbbf33..aca9634 100644
--- a/recipes-security/xmlsec1/xmlsec1_1.2.26.bb
+++ b/recipes-security/xmlsec1/xmlsec1_1.2.26.bb
@@ -32,6 +32,11 @@  EXTRA_OECONF = "\
     --with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../.. \
     "
 
+# these can be dynamically loaded with xmlSecCryptoDLLoadLibrary()
+FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so"
+FILES_${PN} += "${libdir}/libxmlsec1-*.so"
+INSANE_SKIP_${PN} = "dev-so"
+
 FILES_${PN}-dev += "${libdir}/xmlsec1Conf.sh"
 FILES_${PN}-dbg += "${PTEST_PATH}/.debug/*"
 

Comments

Armin Kuster Feb. 12, 2019, 2:03 a.m.
series merged.

On 1/30/19 1:57 AM, Adrian Bunk wrote:
> They can be dynamically loaded with xmlSecCryptoDLLoadLibrary().
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> ---
>  recipes-security/xmlsec1/xmlsec1_1.2.26.bb | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/recipes-security/xmlsec1/xmlsec1_1.2.26.bb b/recipes-security/xmlsec1/xmlsec1_1.2.26.bb
> index 2dbbf33..aca9634 100644
> --- a/recipes-security/xmlsec1/xmlsec1_1.2.26.bb
> +++ b/recipes-security/xmlsec1/xmlsec1_1.2.26.bb
> @@ -32,6 +32,11 @@ EXTRA_OECONF = "\
>      --with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../.. \
>      "
>  
> +# these can be dynamically loaded with xmlSecCryptoDLLoadLibrary()
> +FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so"
> +FILES_${PN} += "${libdir}/libxmlsec1-*.so"
> +INSANE_SKIP_${PN} = "dev-so"
> +
>  FILES_${PN}-dev += "${libdir}/xmlsec1Conf.sh"
>  FILES_${PN}-dbg += "${PTEST_PATH}/.debug/*"
>