From f2527e9db8cc181f21bd9ccb79f1d7df25784f12 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 14 Dec 2010 14:50:42 -0800 Subject: [PATCH] Use dpkg-deb -z to specify compression type. --- makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 095831ec..d437f41b 100644 --- a/makefile +++ b/makefile @@ -12,8 +12,16 @@ endif flags := link := -#dpkg := /Library/Cydia/bin/dpkg-deb -Zlzma +ifeq (o,O) # gzip is actually better +dpkg := /Library/Cydia/bin/dpkg-deb +ifeq ($(wildcard $(dpkg)),$(dpkg)) +dpkg := $(dpkg) -zlzma +else +dpkg := dpkg-deb -zbzip2 +endif +else dpkg := dpkg-deb +endif sdk := $(sdks)/iPhoneOS$(ios).sdk -- 2.50.0