]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
configure: Prepend pixman and ftd flags to overrule system-provided ones
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 2 Oct 2014 08:03:55 +0000 (10:03 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 10:20:27 +0000 (12:20 +0200)
Other packages may provide includes for pixman as well if the host has a
devel package installed. So add ours to the front to unsure that the
right version is used.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
configure

index 9ac2600230ba93b41c56fd029c20efd743fa8975..a9e4d4948351e7e2356eac5d4d5c32791fd450c0 100755 (executable)
--- a/configure
+++ b/configure
@@ -4211,9 +4211,9 @@ EOF
   fi
 fi
 
-# add pixman flags after all config tests are done
-QEMU_CFLAGS="$QEMU_CFLAGS $pixman_cflags $fdt_cflags"
-libs_softmmu="$libs_softmmu $pixman_libs"
+# prepend pixman and ftd flags after all config tests are done
+QEMU_CFLAGS="$pixman_cflags $fdt_cflags $QEMU_CFLAGS"
+libs_softmmu="$pixman_libs $libs_softmmu"
 
 echo "Install prefix    $prefix"
 echo "BIOS directory    `eval echo $qemu_datadir`"