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/qemu.inc | |
parent | 138df217efe850528f88d340acf864c38780c2b0 (diff) | |
download | poky-2700a620d059a5a82cfa49c103e4a2ceaf9d133a.tar.gz |
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/qemu.inc')
-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 eb630670cf..c607d00e82 100644 --- a/meta/packages/qemu/qemu.inc +++ b/meta/packages/qemu/qemu.inc | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://qemu.org" | |||
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | DEPENDS = "zlib" | 4 | DEPENDS = "zlib" |
5 | 5 | ||
6 | EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-softmmu,x86_64-softmmu,mips-linux-user,mips-softmmu --disable-werror --disable-vnc-tls" | 6 | 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" |
7 | #EXTRA_OECONF += "--disable-sdl" | 7 | #EXTRA_OECONF += "--disable-sdl" |
8 | 8 | ||
9 | inherit autotools | 9 | inherit autotools |