mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
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 <a.heider@gmail.com>
This commit is contained in:
parent
9452f511f0
commit
52858e734f
@ -609,13 +609,16 @@ EOF
|
||||
}
|
||||
|
||||
create_meson_conf_target() {
|
||||
local linker="$(get_target_linker)"
|
||||
local properties
|
||||
properties="PKG_MESON_PROPERTIES_${1^^}"
|
||||
|
||||
cat > $2 <<EOF
|
||||
[binaries]
|
||||
c = '$TARGET_CC'
|
||||
c_ld = '$linker'
|
||||
cpp = '$TARGET_CXX'
|
||||
cpp_ld = '$linker'
|
||||
ar = '$TARGET_AR'
|
||||
strip = '$TARGET_STRIP'
|
||||
pkg-config = '$PKG_CONFIG'
|
||||
|
Loading…
x
Reference in New Issue
Block a user