[swift-dev] SwiftAndroid: Statically linking libicu and/or the stdlib?

Dmitri Gribenko gribozavr at gmail.com
Mon Dec 21 23:45:01 CST 2015


On Mon, Dec 21, 2015 at 6:13 PM, Geordie Jay via swift-dev <
swift-dev at swift.org> wrote:

>     ./utils/build-script -R --no-assertions -b -p --extra-swift-args
> build-swift-static-stdlib=1
>

This option builds static archives of the standard library, not a standard
library that links in everything statically.

I would expect you would need to add some non-trival amount of CMake code
if you want to statically link ICU.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20151221/8ae96980/attachment.html>


More information about the swift-dev mailing list