From 4b92bd238a5ef22a3735531323f461a56734d980 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 14 Oct 2022 17:11:04 -0700 Subject: [PATCH] Unbreak cross-compiler symbol visibility (#31) --- makes/src/utils/funcs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makes/src/utils/funcs.sh b/makes/src/utils/funcs.sh index 25dbc13..dbb8387 100644 --- a/makes/src/utils/funcs.sh +++ b/makes/src/utils/funcs.sh @@ -61,11 +61,11 @@ configure_host_vars() { } configure_target_vars() { - env_exists TARGET_PREFIX + env_exists TARGET_TUPLE define_target_export() { local var="${1}_FOR_TARGET" - local tool="${TARGET_PREFIX}$2" + local tool="${TARGET_TUPLE}-$2" if [ "${!var}" ]; then die "$var is already set with '${!var}'" else