Skip to content

[bug] PkgConfig not using buildenv? #15099

Closed
@jasal82

Description

@jasal82

Environment details

  • Conan version: 1.61.0

Steps to reproduce

When I use PkgConfig in a recipe which has a Yocto toolchain package in its build requirements the environment variables set by this package via buildenv_info are not visible to PkgConfig. However, when I set the same variables with env_info it works fine. I think this is not the intended behavior. Yocto toolchains set PKG_CONFIG_PATH so that the pkg-config executable can find the correct .pc files. Without this variable it will query the host system instead.

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions