From 2700a620d059a5a82cfa49c103e4a2ceaf9d133a Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Fri, 28 May 2010 10:28:32 +0100 Subject: qemu: add some extra ldflags to make it link succesfully qemu-native was failing to link on my 64bit Fedora 13 machine with this error: | /usr/bin/ld: libqemu.a(helper_opengl.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5' | /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line | /lib64/libdl.so.2: could not read symbols: Invalid operation So I did as the linker told me and added -ldl to the linker flags Signed-off-by: Joshua Lock --- meta/packages/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/packages') diff --git a/meta/packages/qemu/qemu.inc b/meta/packages/qemu/qemu.inc index eb630670c..c607d00e8 100644 --- a/meta/packages/qemu/qemu.inc +++ b/meta/packages/qemu/qemu.inc @@ -3,7 +3,7 @@ HOMEPAGE = "http://qemu.org" LICENSE = "GPL" DEPENDS = "zlib" -EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu,mips-linux-user,mips-softmmu --disable-werror --disable-vnc-tls" +EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu,mips-linux-user,mips-softmmu --disable-werror --disable-vnc-tls --extra-ldflags=-ldl" #EXTRA_OECONF += "--disable-sdl" inherit autotools -- cgit v1.2.3