From: Jay Freeman (saurik) Date: Sat, 31 Oct 2009 03:43:40 +0000 (+0000) Subject: Fixed a minor packaging SNAFU that broke the iPhone build. X-Git-Tag: v0.9.432~222 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/5a2ae41928193b489e490abb580abc2fa53181ea?ds=inline Fixed a minor packaging SNAFU that broke the iPhone build. --- diff --git a/makefile b/makefile index 3fe6d9e..aa0bbba 100644 --- a/makefile +++ b/makefile @@ -63,10 +63,11 @@ all: $(deb) extra: -control: control.in cycript libcycript.so ifeq ($(depends),) +control: control.in cycript libcycript.so sed -e 's/&/'"$$(dpkg-query -S $$(ldd cycript libcycript.so | sed -e '/:$$/ d; s/^[ \t]*\([^ ]* => \)\?\([^ ]*\) .*/\2/' | sort -u) 2>/dev/null | sed -e 's/:.*//; /^cycript$$/ d; s/$$/,/' | sort -u | tr '\n' ' ')"'/;s/, $$//;s/#/$(svn)/;s/%/$(arch)/' $< >$@ else +control: control.in sed -e 's/&/$(foreach depend,$(depends),$(depend),)/;s/,$$//;s/#/$(svn)/;s/%/$(arch)/' $< >$@ endif