From da097788fc9d80ed0473dd634b26b3ae281e5618 Mon Sep 17 00:00:00 2001 From: "Hoa V. Dinh" Date: Mon, 27 Oct 2014 23:00:18 -0700 Subject: Made it easier to build mailcore --- scripts/get-ios.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'scripts/get-ios.sh') diff --git a/scripts/get-ios.sh b/scripts/get-ios.sh index 32a3eb3e..4296523c 100755 --- a/scripts/get-ios.sh +++ b/scripts/get-ios.sh @@ -11,3 +11,19 @@ for dep in $deps ; do name="$dep" get_prebuilt_dep done + +deps+=" libsasl-ios" +if test "x$CONFIGURATION_BUILD_DIR" != x ; then + mkdir -p "$CONFIGURATION_BUILD_DIR" + cd "$scriptpath/../Externals" + for dep in $deps ; do + if test -d "$dep" ; then + if test -d "$dep"/lib ; then + rsync -a "$dep"/lib/ "$CONFIGURATION_BUILD_DIR" + fi + if test -d "$dep"/include ; then + rsync -a "$dep"/include/ "$CONFIGURATION_BUILD_DIR/include/" + fi + fi + done +fi -- cgit v1.2.3