[oe] [meta-oe][PATCH] cpprest: inherit pkg-config to find brotli library

Martin Jansa martin.jansa at gmail.com
Wed Dec 12 12:49:24 UTC 2018


Why does it need target pkgconfig to find brotli?

Doesn't it need pkgconfig-native (through pkgconfig inherit) instead?

On Wed, Dec 12, 2018 at 1:44 PM Gianfranco Costamagna <
costamagna.gianfranco at gmail.com> wrote:

> ---
>  meta-oe/recipes-support/cpprest/cpprest_2.10.8.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-support/cpprest/cpprest_2.10.8.bb
> b/meta-oe/recipes-support/cpprest/cpprest_2.10.8.bb
> index c94038f8f..49da6d35c 100644
> --- a/meta-oe/recipes-support/cpprest/cpprest_2.10.8.bb
> +++ b/meta-oe/recipes-support/cpprest/cpprest_2.10.8.bb
> @@ -3,7 +3,7 @@ SECTION = "libs/network"
>  HOMEPAGE = "https://github.com/Microsoft/cpprestsdk/"
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM =
> "file://${S}/license.txt;md5=a2e15b954769218ff912468eecd6a02f"
> -DEPENDS = "openssl websocketpp zlib boost brotli"
> +DEPENDS = "openssl websocketpp zlib boost brotli pkgconfig"
>
>  EXTRA_OECMAKE = "-DCPPREST_EXPORT_DIR=cmake -DCPPREST_EXCLUDE_BROTLI=OFF"
>
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list