diff options
author | Richard Henderson | 2013-02-05 01:21:07 +0100 |
---|---|---|
committer | Anthony Liguori | 2013-02-06 15:29:21 +0100 |
commit | 84208085d357d95b84f6e281ec3aa028e988e5ff (patch) | |
tree | 64e65581f72dd70a43828e038cd9f82d1c837df6 /configure | |
parent | bswap: Fix width of swap in leul_to_cpu (diff) | |
download | qemu-84208085d357d95b84f6e281ec3aa028e988e5ff.tar.gz qemu-84208085d357d95b84f6e281ec3aa028e988e5ff.tar.xz qemu-84208085d357d95b84f6e281ec3aa028e988e5ff.zip |
configure: Fix build with XFree
The build is broken on ppc64-linux, possibly only with new binutils:
ld: hw/lm32/../milkymist-tmu2.o: undefined reference to symbol 'XFree'
ld: note: 'XFree' is defined in DSO /lib64/libX11.so.6 so try \
adding it to the linker command line
So let's follow the linker's advice.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2388,7 +2388,7 @@ fi ########################################## # opengl probe, used by milkymist-tmu2 if test "$opengl" != "no" ; then - opengl_libs="-lGL" + opengl_libs="-lGL -lX11" cat > $TMPC << EOF #include <X11/Xlib.h> #include <GL/gl.h> |