libsignal-client/rustflags.sh

9 lines
144 B
Bash
Raw Normal View History

#!/bin/bash
flags="-C link-arg=-s"
if [[ "${TARGET}" == *musl ]]; then
flags="${flags} -C target-feature=-crt-static"
fi
echo "${flags}"