]> code.ossystems Code Review - openembedded-core.git/commit
qemu: add some extra ldflags to make it link succesfully
authorJoshua Lock <josh@linux.intel.com>
Fri, 28 May 2010 09:28:32 +0000 (10:28 +0100)
committerJoshua Lock <josh@linux.intel.com>
Fri, 28 May 2010 14:32:42 +0000 (15:32 +0100)
commit2700a620d059a5a82cfa49c103e4a2ceaf9d133a
tree6e4b4a5ff08a6d8b8d14daac7c056f84e83b31ad
parent138df217efe850528f88d340acf864c38780c2b0
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>
meta/packages/qemu/qemu.inc