From f2229be25e593028b45150d92faa412d63797b89 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 25 Feb 2011 03:01:13 -0800 Subject: New mobilesubstrate packages include an absolute symlink. --- sysroot.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sysroot.sh') diff --git a/sysroot.sh b/sysroot.sh index 819d8b7..77ad994 100755 --- a/sysroot.sh +++ b/sysroot.sh @@ -44,6 +44,12 @@ wget -qO- "${repository}dists/${distribution}/${component}/binary-${architecture rm -f *.deb +if substrate=$(readlink usr/include/substrate.h); then + if [[ ${substrate} == /* ]]; then + ln -sf "../..${substrate}" usr/include/substrate.h + fi +fi + mkdir -p usr/include cd usr/include -- cgit v1.2.3