diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-09-22 12:30:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-24 11:30:36 +0100 |
commit | 2f0a82b8a9d27760a80c4a60f3705ca85b81f120 (patch) | |
tree | 1023bdc151e481baaaa64ca24b5b6762de6264e0 /meta/recipes-devtools/qemu | |
parent | 5378763f4c8af270805c7bf4a8726d474c6a2ba9 (diff) | |
download | poky-2f0a82b8a9d27760a80c4a60f3705ca85b81f120.tar.gz |
qemu-native: fix build on hosts without libX11 installed
(From OE-Core rev: 6bb6ca6164b6b5f082fe05c30974463c2aa1c170)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_1.2.0.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_1.2.0.bb b/meta/recipes-devtools/qemu/qemu_1.2.0.bb index 7091f6d97f..191ee48e06 100644 --- a/meta/recipes-devtools/qemu/qemu_1.2.0.bb +++ b/meta/recipes-devtools/qemu/qemu_1.2.0.bb | |||
@@ -17,7 +17,7 @@ SRC_URI = "\ | |||
17 | SRC_URI[md5sum] = "78eb1e984f4532aa9f2bdd3c127b5b61" | 17 | SRC_URI[md5sum] = "78eb1e984f4532aa9f2bdd3c127b5b61" |
18 | SRC_URI[sha256sum] = "c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e9df936" | 18 | SRC_URI[sha256sum] = "c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e9df936" |
19 | 19 | ||
20 | PR = "r1" | 20 | PR = "r2" |
21 | 21 | ||
22 | SRC_URI_append_virtclass-nativesdk = "\ | 22 | SRC_URI_append_virtclass-nativesdk = "\ |
23 | file://relocatable_sdk.patch \ | 23 | file://relocatable_sdk.patch \ |
@@ -29,4 +29,8 @@ do_configure_prepend_virtclass-nativesdk() { | |||
29 | sed -i 's/-lX11//g' Makefile.target | 29 | sed -i 's/-lX11//g' Makefile.target |
30 | fi | 30 | fi |
31 | } | 31 | } |
32 | do_configure_prepend_virtclass-native() { | ||
33 | # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed | ||
34 | sed -i 's/-lX11//g' Makefile.target | ||
35 | } | ||
32 | 36 | ||