summary refs log tree commit diff stats
path: root/ui/input-linux.c
diff options
context:
space:
mode:
authorSameeh Jubran <sameeh@daynix.com>2017-03-26 12:56:22 +0300
committerMichael Roth <mdroth@linux.vnet.ibm.com>2017-03-30 21:47:25 -0500
commit4eaf72029446ba693c63429475ce46348f65bf01 (patch)
treee0bd6c19f2933dd9487634eb9caf91b9e653c8d9 /ui/input-linux.c
parent8251a72f8bb8764c13dd5ba627e7d9e6d35d188e (diff)
downloadfocaccia-qemu-4eaf72029446ba693c63429475ce46348f65bf01.tar.gz
focaccia-qemu-4eaf72029446ba693c63429475ce46348f65bf01.zip
qga: Make qemu-ga compile statically for Windows
Attempting to compile qemu-ga statically as follows for Windows causes
the following error:

Compilation:
    ./configure --disable-docs --target-list=x86_64-softmmu \
    --cross-prefix=x86_64-w64-mingw32- --static \
    --enable-guest-agent-msi --with-vss-sdk=/path/to/VSSSDK72

    make -j8 qemu-ga

Error:
    path/to/qemu/stubs/error-printf.c:7: undefined reference to `__imp_g_test_config_vars'
    collect2: error: ld returned 1 exit status
    Makefile:444: recipe for target 'qemu-ga.exe' failed
    make: *** [qemu-ga.exe] Error 1

This is caused by a bug in the pkg-config file for glib as it doesn't define
GLIB_STATIC_COMPILATION for pkg-config --static.

Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'ui/input-linux.c')
0 files changed, 0 insertions, 0 deletions