mirror of
https://github.com/mautrix/signal.git
synced 2025-03-14 14:15:36 +00:00
10 lines
324 B
Bash
Executable file
10 lines
324 B
Bash
Executable file
#!/bin/sh
|
|
# TODO fix linking with debug library
|
|
#if [ "$DBG" != 1 ]; then
|
|
# RUST_PROFILE=release
|
|
#else
|
|
# RUST_PROFILE=dev
|
|
#fi
|
|
RUST_PROFILE=release
|
|
git submodule update --init
|
|
cd pkg/libsignalgo/libsignal && RUSTFLAGS="-Ctarget-feature=-crt-static" RUSTC_WRAPPER="" cargo build -p libsignal-ffi --profile=$RUST_PROFILE
|