Patchwork zip: explictly disable bzip2 support

login
register
mail settings
Submitter Martin Jansa
Date Feb. 12, 2013, 4:42 a.m.
Message ID <1360644132-21484-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/44499/
State Accepted
Commit 1242dc5a70b65ab0ab9cc42b9a33a200b15ff7c0
Headers show

Comments

Martin Jansa - Feb. 12, 2013, 4:42 a.m.
* we don't depends on bzip2, so make sure it's not autodetected in
  sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-extended/zip/zip.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-extended/zip/zip.inc b/meta/recipes-extended/zip/zip.inc
index 265d9a8..c73571a 100644
--- a/meta/recipes-extended/zip/zip.inc
+++ b/meta/recipes-extended/zip/zip.inc
@@ -12,9 +12,9 @@  EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \
 		'BINFLAGS=0755' 'INSTALL_D=install -d'"
 
 do_compile() {
-	oe_runmake -f unix/Makefile flags
+	oe_runmake -f unix/Makefile flags IZ_BZIP2=no_such_directory
 	sed -i 's#LFLAGS1=""#LFLAGS1="${LDFLAGS}"#' flags
-	oe_runmake -f unix/Makefile generic
+	oe_runmake -f unix/Makefile generic IZ_BZIP2=no_such_directory
 }
 
 do_install() {