From c87bf0cfc656b4ae32b5e6ea926a71135b609a2e Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 15 Jun 2010 12:22:01 +0100 Subject: qemu: Fix linking of the native package on Fedora 13 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. Signed-off-by: Joshua Lock --- meta/packages/qemu/qemu-0.12.4/linker-flags.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta/packages/qemu/qemu-0.12.4/linker-flags.patch (limited to 'meta/packages/qemu/qemu-0.12.4') diff --git a/meta/packages/qemu/qemu-0.12.4/linker-flags.patch b/meta/packages/qemu/qemu-0.12.4/linker-flags.patch new file mode 100644 index 000000000..7b33aa484 --- /dev/null +++ b/meta/packages/qemu/qemu-0.12.4/linker-flags.patch @@ -0,0 +1,22 @@ +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.12.4/Makefile.target +=================================================================== +--- qemu-0.12.4.orig/Makefile.target 2010-06-15 11:21:52.000000000 +0100 ++++ qemu-0.12.4/Makefile.target 2010-06-15 11:25:27.212852910 +0100 +@@ -178,7 +178,7 @@ + obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o + obj-$(CONFIG_KVM) += kvm.o kvm-all.o + obj-$(CONFIG_ISA_MMIO) += isa_mmio.o +-LIBS+=-lz ++LIBS+=-lz -lX11 -ldl + + sound-obj-y = + sound-obj-$(CONFIG_SB16) += sb16.o -- cgit v1.2.3