From 52858e734f4dab98ddff26326264212d3afa6038 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Mon, 16 Oct 2023 14:43:08 +0200 Subject: [PATCH] meson: use chosen linker meson requires setting the linker via c_ld/cpp_ld. This now links meson based package builds with the chosen DEFAULT_LINKER. Signed-off-by: Andre Heider --- config/functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/functions b/config/functions index 95d8c78d19..61306a5898 100644 --- a/config/functions +++ b/config/functions @@ -609,13 +609,16 @@ EOF } create_meson_conf_target() { + local linker="$(get_target_linker)" local properties properties="PKG_MESON_PROPERTIES_${1^^}" cat > $2 <