aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/get-mac.sh
diff options
context:
space:
mode:
authorGravatar Hoa V. Dinh <dinh.viet.hoa@gmail.com>2014-10-27 23:00:18 -0700
committerGravatar Hoa V. Dinh <dinh.viet.hoa@gmail.com>2014-10-27 23:00:18 -0700
commitda097788fc9d80ed0473dd634b26b3ae281e5618 (patch)
tree04b36f557338fbf0636a847a907c63f777faaeae /scripts/get-mac.sh
parent96e1109ebc850761bd08459f06706d73543c1d38 (diff)
Made it easier to build mailcore
Diffstat (limited to 'scripts/get-mac.sh')
-rwxr-xr-xscripts/get-mac.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/get-mac.sh b/scripts/get-mac.sh
index 573bfe4a..ce473f4a 100755
--- a/scripts/get-mac.sh
+++ b/scripts/get-mac.sh
@@ -11,3 +11,18 @@ for dep in $deps ; do
name="$dep"
get_prebuilt_dep
done
+
+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