Thanks for your reply Dmitri. I ended up getting this working by manually changing the SONAME and other internal references from within and to ICU from the stdlib and APKs are now working on all the non-rooted devices I have available to me.<br><br>I don't know my way around CMake to make major (or evidently even minor) changes to the build, but a statically linked stdlib would certainly be advantageous for other uses as well, e.g. for Emscripten. One thing at a time though..<br><br>Happy new year,<br>Geordie<br><br><br><div class="gmail_quote"><div dir="ltr">Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>> schrieb am Di., 22. Dez. 2015 um 06:45:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Dec 21, 2015 at 6:13 PM, Geordie Jay via swift-dev <span dir="ltr"><<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><span><div> ./utils/build-script -R --no-assertions -b -p --extra-swift-args build-swift-static-stdlib=1</div></span></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>This option builds static archives of the standard library, not a standard library that links in everything statically.</div><div><br></div><div>I would expect you would need to add some non-trival amount of CMake code if you want to statically link ICU.</div><div><br></div><div>Dmitri </div></div></div></div><div dir="ltr"><div class="gmail_extra"><div><br></div>-- <br><div>main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>>*/</div>
</div></div></blockquote></div>