Skip to content

Commit ddc9242

Browse files
committed
[build-android] Implement swift-android source patching
1 parent 985dd9a commit ddc9242

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build-android.sh

100644100755
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,15 @@ echo "warning: this script assumes it's running from the root of the libiconv-li
1616
# Create armeabi-v7a dir
1717
mkdir armeabi-v7a && cd armeabi-v7a
1818
tar xvf ../icu4c-55_1-src.tgz
19+
cd ..
1920

20-
# Edit icu configure file
21+
# Patch icu configure file
22+
patch -i swift-android-source-patches/build.patch
2123

22-
# Edit build.sh file
24+
# Patch build.sh file
25+
cd armeabi-v7a/icu/source/
26+
patch -i ../../../swift-android-source-patches/icu-configure.patch
27+
cd ../../..
2328

2429
# 🎉 Run build.sh, with the edited sources
2530
./build.sh

0 commit comments

Comments
 (0)