Skip to content

Commit

Permalink
correct arch patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Palao committed May 2, 2021
1 parent 5c1a882 commit a59ef58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/build.sh
Expand Up @@ -248,8 +248,8 @@ build_perl() {
perl -0777 -i.bak.4 -pe "s|DB_File||g" config.sh

#patch arch
perl -0777 -i.bak.5 -pe "s/myarchname='(i386|arm|arm64)\-darwin'/myarchname='$PERL_ARCH-darwin'/g" config.sh
perl -0777 -i.bak.6 -pe "s|archname='(i386|arm|arm64)\-darwin\-thread\-multi'|archname='$PERL_ARCH-darwin-ios-$PLATFORM_TAG-thread-multi'|" config.sh
perl -0777 -i.bak.5 -pe "s/myarchname=.*/\nmyarchname='$PERL_ARCH-darwin'/g" config.sh
perl -0777 -i.bak.6 -pe "s|[^y]archname=.*|\narchname='$PERL_ARCH-darwin-ios-$PLATFORM_TAG-thread-multi'|" config.sh

# patch perl version
perl -0777 -i.bak.4 -pe "s|%PERL_REVISION%|$PERL_REVISION|g" config.h
Expand Down

0 comments on commit a59ef58

Please sign in to comment.