| Package Name | sodium |
|---|---|
| Version | 1.0.18 |
| Type | host |
6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1
ANDROID_NDK_ROOT=$PREFIX/native
CC=clang
AR=ar
RANLIB=ranlib
config_opts=--host=$HOST --prefix=$PREFIX
config_opts=$config_opts --enable-static --disable-shared --with-pic
cp -f $PREFIX/native/share/config/config.guess build-aux/
cp -f $PREFIX/native/share/config/config.sub build-aux/
patch -p1 < $PATCH_DIR/sodium/disable-glibc-getrandom-getentropy.patch
patch -p1 < $PATCH_DIR/sodium/fix-whitespace.patch
./configure $config_opts
make -j$NUM_CORES
make DESTDIR=$STAGING_DIR install
$PREFIX/native/bootstrap/bin/perl $PREFIX/native/bootstrap/bin/strip-nondeterminism-recursive --directory $STAGING_DIR
| Target / Builder | darwin_arm64 | linux_amd64 | linux_arm64 |
|---|---|---|---|
| aarch64-apple-darwin | ✗ | ✗ | ✗ |
| aarch64-apple-ios | ✗ | ✗ | ✗ |
| aarch64-apple-ios-simulator | ✗ | ✗ | ✗ |
| aarch64-linux-android | ✗ | ✗ | ✗ |
| aarch64-linux-gnu | ✗ | ✗ | ✗ |
| armv7a-linux-androideabi | ✗ | ✗ | ✗ |
| x86_64-apple-darwin | ✗ | ✗ | ✗ |
| x86_64-linux-android | ✗ | ✗ | ✗ |
| x86_64-linux-gnu | ✗ | ✗ | ✗ |