diff options
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 |