[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] gtk: fix linker error
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH] gtk: fix linker error |
Date: |
Wed, 28 May 2014 22:35:40 +0200 |
commit 3158a3482b0093e41f2b2596fba50774ea31ae08 added a XkbGetKeyboard
call, we'll need libX11 for that. Add it, otherwise the build will fail
with a linker error (unless X11 is linked anyway for other reasons, SDL
for example).
Cc: Richard Henderson <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 0e516f9..f9f7768 100755
--- a/configure
+++ b/configure
@@ -1993,7 +1993,7 @@ if test "$gtk" != "no"; then
fi
if $pkg_config --exists "$gtkpackage >= $gtkversion"; then
gtk_cflags=`$pkg_config --cflags $gtkpackage`
- gtk_libs=`$pkg_config --libs $gtkpackage`
+ gtk_libs="`$pkg_config --libs $gtkpackage` -lX11"
libs_softmmu="$gtk_libs $libs_softmmu"
gtk="yes"
elif test "$gtk" = "yes"; then
--
1.8.3.1
- [Qemu-devel] [PATCH] gtk: fix linker error,
Gerd Hoffmann <=