mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
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>
This commit is contained in:
parent
91107fdf44
commit
84208085d3
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue