diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 076e8ad929..611ee61beb 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -33,6 +33,10 @@ EXTRA_OECONF_class-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disa | |||
33 | export LIBTOOL="${HOST_SYS}-libtool" | 33 | export LIBTOOL="${HOST_SYS}-libtool" |
34 | 34 | ||
35 | do_configure_prepend_class-native() { | 35 | do_configure_prepend_class-native() { |
36 | # Append build host pkg-config paths for native target since the host may provide sdl | ||
37 | BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config) | ||
38 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH | ||
39 | |||
36 | # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed | 40 | # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed |
37 | sed -i 's/-lX11//g' Makefile.target | 41 | sed -i 's/-lX11//g' Makefile.target |
38 | } | 42 | } |