mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
cosmic-edit: manually link libiconv on statically linked targets
This commit is contained in:
parent
7fcfc50b89
commit
0ab4ceed34
@ -12,6 +12,11 @@ dependencies = [
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
export GETTEXT_DIR="${COOKBOOK_SYSROOT}/usr"
|
||||
if [ "${COOKBOOK_DYNAMIC}" != "1" ]
|
||||
then
|
||||
# Statically linked i586 and riscv64gc need libiconv manually linked
|
||||
export RUSTFLAGS="${RUSTFLAGS} -liconv"
|
||||
fi
|
||||
cookbook_cargo --no-default-features
|
||||
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/share/ui/apps"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user