diff options
author | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2014-10-27 23:00:18 -0700 |
---|---|---|
committer | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2014-10-27 23:00:18 -0700 |
commit | da097788fc9d80ed0473dd634b26b3ae281e5618 (patch) | |
tree | 04b36f557338fbf0636a847a907c63f777faaeae /scripts | |
parent | 96e1109ebc850761bd08459f06706d73543c1d38 (diff) |
Made it easier to build mailcore
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/get-ios.sh | 16 | ||||
-rwxr-xr-x | scripts/get-mac.sh | 15 |
2 files changed, 31 insertions, 0 deletions
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 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 |