diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-24 11:14:32 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-24 11:14:32 +0100 |
commit | 75563817929fa7cf9a5cbd4cb46f43aa16978a7d (patch) | |
tree | 4dfa217844db07b205cbf1540ffad05e6b4b63ce /meta/packages/qemu/qemu-git | |
parent | 362d3886f52d6d4bae57adf81b7dcbd846217dd1 (diff) | |
download | openembedded-core-75563817929fa7cf9a5cbd4cb46f43aa16978a7d.tar.gz openembedded-core-75563817929fa7cf9a5cbd4cb46f43aa16978a7d.tar.bz2 openembedded-core-75563817929fa7cf9a5cbd4cb46f43aa16978a7d.zip |
qemu: Fix for machines without zlib headers/library installed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/qemu/qemu-git')
-rw-r--r-- | meta/packages/qemu/qemu-git/zlibsearch.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-git/zlibsearch.patch b/meta/packages/qemu/qemu-git/zlibsearch.patch new file mode 100644 index 0000000000..6d7cf03055 --- /dev/null +++ b/meta/packages/qemu/qemu-git/zlibsearch.patch @@ -0,0 +1,13 @@ +Index: git/configure +=================================================================== +--- git.orig/configure 2009-05-24 11:12:34.000000000 +0100 ++++ git/configure 2009-05-24 11:12:55.000000000 +0100 +@@ -749,7 +749,7 @@ + #include <zlib.h> + int main(void) { zlibVersion(); return 0; } + EOF +-if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lz > /dev/null 2> /dev/null ; then ++if $cc $CFLAGS $LDFLAGS $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lz > /dev/null 2> /dev/null ; then + : + else + echo |