* [PATCH] qemu-native: fix build on hosts without libX11 installed
@ 2012-09-22 10:30 Martin Jansa
2012-09-27 16:20 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2012-09-22 10:30 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/qemu/qemu_1.2.0.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/qemu/qemu_1.2.0.bb b/meta/recipes-devtools/qemu/qemu_1.2.0.bb
index 7091f6d..191ee48 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 = "\
SRC_URI[md5sum] = "78eb1e984f4532aa9f2bdd3c127b5b61"
SRC_URI[sha256sum] = "c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e9df936"
-PR = "r1"
+PR = "r2"
SRC_URI_append_virtclass-nativesdk = "\
file://relocatable_sdk.patch \
@@ -29,4 +29,8 @@ do_configure_prepend_virtclass-nativesdk() {
sed -i 's/-lX11//g' Makefile.target
fi
}
+do_configure_prepend_virtclass-native() {
+ # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed
+ sed -i 's/-lX11//g' Makefile.target
+}
--
1.7.12
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] qemu-native: fix build on hosts without libX11 installed
2012-09-22 10:30 [PATCH] qemu-native: fix build on hosts without libX11 installed Martin Jansa
@ 2012-09-27 16:20 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-09-27 16:20 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-core
On 09/22/2012 03:30 AM, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> meta/recipes-devtools/qemu/qemu_1.2.0.bb | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/qemu/qemu_1.2.0.bb b/meta/recipes-devtools/qemu/qemu_1.2.0.bb
> index 7091f6d..191ee48 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 = "\
> SRC_URI[md5sum] = "78eb1e984f4532aa9f2bdd3c127b5b61"
> SRC_URI[sha256sum] = "c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e9df936"
>
> -PR = "r1"
> +PR = "r2"
>
> SRC_URI_append_virtclass-nativesdk = "\
> file://relocatable_sdk.patch \
> @@ -29,4 +29,8 @@ do_configure_prepend_virtclass-nativesdk() {
> sed -i 's/-lX11//g' Makefile.target
> fi
> }
> +do_configure_prepend_virtclass-native() {
> + # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed
> + sed -i 's/-lX11//g' Makefile.target
> +}
>
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-27 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-22 10:30 [PATCH] qemu-native: fix build on hosts without libX11 installed Martin Jansa
2012-09-27 16:20 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox