diff --git a/build-swift-stdlib.sh b/build-swift-stdlib.sh index 5255cbf..0b739a5 100755 --- a/build-swift-stdlib.sh +++ b/build-swift-stdlib.sh @@ -69,3 +69,6 @@ echo "Build Swift StdLib" echo "Install Swift StdLib" (cd $SWIFT_BUILDDIR && ninja install) + +echo "Install Swift Stdlib to sysroot" +cp -rf ${SWIFT_INSTALL_PREFIX}/* ${STAGING_DIR}/usr/ diff --git a/deploy-to-sysroot.sh b/deploy-to-sysroot.sh index bef2805..f1d8673 100755 --- a/deploy-to-sysroot.sh +++ b/deploy-to-sysroot.sh @@ -2,9 +2,6 @@ set -e source swift-define -echo "Install Swift Stdlib to sysroot" -cp -rf ${SWIFT_INSTALL_PREFIX}/* ${STAGING_DIR}/usr/ - echo "Install Dispatch to sysroot" cp -rf ${LIBDISPATCH_INSTALL_PREFIX}/* ${STAGING_DIR}/usr/