On 01/10/2020 00:40, Alexander Kanavin wrote:
Wait, how does it work in native meson then?

It is the nativesdk meson has this problem, that is what cross build requests for.

You can try the Intel MediaSDK, I reported this issue to Gstreamer for this but it comes to the issue of OE.

Or you mean the native meson for the target system ? I don't think they need a cross build file.

Alex

On Wed 30. Sep 2020 at 17.06, ayaka <ay...@soulik.info <mailto:ay...@soulik.info>> wrote:

    I know the environment setup script would set PKG_CONFIG_PATH,

    but the meson won't take that env when translate the includedir

    property from the pkg-config.



    Signed-off-by: ayaka <ay...@soulik.info <mailto:ay...@soulik.info>>

    ---

     meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb
    <http://nativesdk-meson_0.55.1.bb> | 1 +

     1 file changed, 1 insertion(+)



    diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb
    <http://nativesdk-meson_0.55.1.bb>
    b/meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb
    <http://nativesdk-meson_0.55.1.bb>

    index 67add2c25e..7fdc4c86d9 100644

    --- a/meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb
    <http://nativesdk-meson_0.55.1.bb>

    +++ b/meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb
    <http://nativesdk-meson_0.55.1.bb>

    @@ -40,6 +40,7 @@ c_args = @CFLAGS

     c_link_args = @LDFLAGS

     cpp_args = @CPPFLAGS

     cpp_link_args = @LDFLAGS

    +sys_root = @OECORE_TARGET_SYSROOT



     [host_machine]

     system = '${SDK_OS}'

--
    2.25.4



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142990): 
https://lists.openembedded.org/g/openembedded-core/message/142990
Mute This Topic: https://lists.openembedded.org/mt/77219311/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to