Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8a48d34

Browse files
authored
Merge branch 'incoming' into master
2 parentseca2668 +3ac7b90 commit8a48d34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/main/scripts/create_scripts.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ if [[ "\$*" =~ " -fileno " ]]; then
139139
exit$?
140140
fi
141141
142+
# remove whatever target SwiftPM has supplied
142143
ARGS=\$(echo "\$*" | sed -E "s@-target [^[:space:]]+ -sdk /[^[:space:]]* (-F /[^[:space:]]* )?@@")
143144
144145
if [[\$PLATFORM == "Darwin" ]]; then
@@ -172,6 +173,7 @@ if [[ "\$ARGS" =~ " -emit-executable " && "\$ARGS" =~ ".so " ]]; then
172173
ARGS=\$(echo "\$ARGS" | sed -E "s@ (-module-name [^[:space:]]+ )?-emit-executable @ -emit-library @")
173174
fi
174175
176+
# compile using toolchain's swiftc with Android target
175177
swiftc -target armv7-none-linux-androideabi -sdk "\$SWIFT_INSTALL/ndk-android-21"\\
176178
-L "\$SWIFT_INSTALL/usr/$UNAME" -tools-directory "\$SWIFT_INSTALL/usr/$UNAME"\\
177179
\$ARGS || (echo "*** Error executing:\$0\$ARGS" && exit 1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp