Skip to content

Commit

Permalink
New mobilesubstrate packages include an absolute symlink.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Mar 7, 2011
1 parent 0fa877a commit a5ec57f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sysroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a5ec57f

Please sign in to comment.