mirror of
https://git.yoctoproject.org/poky
synced 2026-04-24 12:32:11 +02:00
Also add missing patch to build qemu-git [YOCTO #1013] got fixed (From OE-Core rev: 9b80846152931bed018f33baaaf1ba253e756867) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
829 B
Diff
23 lines
829 B
Diff
Fedora 13 switched the default behaviour of the linker to no longer
|
|
indirectly link to required libraries (i.e. dependencies of a library
|
|
already linked to). Therefore we need to explicitly pass the depended on
|
|
libraries into the linker for building to work on Fedora 13.
|
|
|
|
More information is available on the Fedora Wiki:
|
|
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
|
|
|
|
JL - 15/06/10
|
|
Index: qemu-0.14.0/Makefile.target
|
|
===================================================================
|
|
--- qemu-0.14.0.orig/Makefile.target
|
|
+++ qemu-0.14.0/Makefile.target
|
|
@@ -218,7 +218,7 @@ obj-$(CONFIG_REALLY_VIRTFS) += virtio-9p
|
|
obj-y += rwhandler.o
|
|
obj-$(CONFIG_KVM) += kvm.o kvm-all.o
|
|
obj-$(CONFIG_NO_KVM) += kvm-stub.o
|
|
-LIBS+=-lz
|
|
+LIBS+=-lz -lX11 -ldl
|
|
|
|
QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
|
|
QEMU_CFLAGS += $(VNC_SASL_CFLAGS)
|