]> git.ipfire.org Git - thirdparty/libvirt.git/commit
configure.ac: Avoid uname, which breaks cross-compilation
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 3 May 2010 23:41:55 +0000 (01:41 +0200)
committerEric Blake <eblake@redhat.com>
Tue, 4 May 2010 16:39:12 +0000 (10:39 -0600)
commit9537c3d0c2ae3b8b01adebfbaa17638f722bfcda
tree5cfabeafccee7c315ddb08489ac8a0f375f04ec7
parent362bc09a4d9441f9abd14956546777f86d8b9d79
configure.ac: Avoid uname, which breaks cross-compilation

When cross-compiling on Linux, configure will misdetect the target as
Linux because it uses uname instead of relying on the $host variable.
This results in including libvirt_linux.syms into libvirt.syms and
therefore trying to export undefined symbols.

Replace uname checks with $host checks to fix this.
configure.ac