diff options
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index ca94fb223d..d794af9462 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -37,16 +37,6 @@ do_configure_prepend_class-native() { | |||
37 | if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then | 37 | if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then |
38 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH | 38 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH |
39 | fi | 39 | fi |
40 | |||
41 | # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed | ||
42 | sed -i 's/-lX11//g' ${S}/Makefile.target | ||
43 | } | ||
44 | |||
45 | do_configure_prepend_class-nativesdk() { | ||
46 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "" ] ; then | ||
47 | # Undo the -lX11 added by linker-flags.patch | ||
48 | sed -i 's/-lX11//g' ${S}/Makefile.target | ||
49 | fi | ||
50 | } | 40 | } |
51 | 41 | ||
52 | KVMENABLE = "--enable-kvm" | 42 | KVMENABLE = "--enable-kvm" |