diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-05-28 10:28:32 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-05-28 15:32:42 +0100 |
commit | 2700a620d059a5a82cfa49c103e4a2ceaf9d133a (patch) | |
tree | 6e4b4a5ff08a6d8b8d14daac7c056f84e83b31ad /meta/packages/qemu | |
parent | 138df217efe850528f88d340acf864c38780c2b0 (diff) | |
download | openembedded-core-2700a620d059a5a82cfa49c103e4a2ceaf9d133a.tar.gz openembedded-core-2700a620d059a5a82cfa49c103e4a2ceaf9d133a.tar.bz2 openembedded-core-2700a620d059a5a82cfa49c103e4a2ceaf9d133a.tar.xz openembedded-core-2700a620d059a5a82cfa49c103e4a2ceaf9d133a.zip |
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>
Diffstat (limited to 'meta/packages/qemu')
-rw-r--r-- | meta/packages/qemu/qemu.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |