Skip to content

Commit

Permalink
Merge pull request swiftlang#45 from apple/fix-centos7-and-amazonlinu…
Browse files Browse the repository at this point in the history
…x2-python

Don't symlink python3 into python on CentOS 7 and Amazon Linux 2
  • Loading branch information
shahmishal authored Oct 20, 2021
2 parents cf610aa + 742c12c commit 8c507bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions platforms/Linux/amazonlinux/2/swift-lang.spec
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ mv Yams-%{yams_version} yams
# Adjust python version hwasan_symbolize
%patch1 -p1

# Fix python to python3
ln -s /usr/bin/python3 /usr/bin/python

%build
export VERBOSE=1

Expand Down
3 changes: 0 additions & 3 deletions platforms/Linux/centos/7/swift-lang.spec
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ mv Yams-%{yams_version} yams
# Adjust python version hwasan_symbolize
%patch1 -p1

# Fix python to python3
ln -s /usr/bin/python3 /usr/bin/python

%build
export VERBOSE=1

Expand Down

0 comments on commit 8c507bd

Please sign in to comment.