forked from cloudfoundry-community/swift-buildpack
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to revert to dynamic stdlib
- Loading branch information
Showing
4 changed files
with
48 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
puts-step "Building package ($SWIFT_BUILD_CONFIGURATION configuration)" | ||
swift build $SWIFT_BUILD_FLAGS -c "$SWIFT_BUILD_CONFIGURATION" --static-swift-stdlib | ||
if [ ! -z "$SWIFT_DYNAMIC_STDLIB" ]; then | ||
puts-step "Building package ($SWIFT_BUILD_CONFIGURATION configuration, dynamic stdlib)" | ||
swift build $SWIFT_BUILD_FLAGS -c "$SWIFT_BUILD_CONFIGURATION" | ||
else | ||
puts-step "Building package ($SWIFT_BUILD_CONFIGURATION configuration, static stdlib)" | ||
swift build $SWIFT_BUILD_FLAGS -c "$SWIFT_BUILD_CONFIGURATION" --static-swift-stdlib | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters