mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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 <josh@linux.intel.com>
This commit is contained in:
@@ -3,7 +3,7 @@ HOMEPAGE = "http://qemu.org"
|
|||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
DEPENDS = "zlib"
|
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"
|
#EXTRA_OECONF += "--disable-sdl"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|||||||
Reference in New Issue
Block a user