From b459fd3910089e4f785490c3b070bba4dcaddf3a Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Sat, 11 May 2024 17:02:31 +0100 Subject: [PATCH] Fix bin install location on linux. For Linux, Meson's default value for bindir is 'bin' [1]. This commit restores mpd's previous functionality of installation in ${prefix}/bin. [1] https://mesonbuild.com/Builtin-options.html Fixes https://github.com/MusicPlayerDaemon/MPD/issues/2043 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index aba8b635d..00a88c6ab 100644 --- a/meson.build +++ b/meson.build @@ -601,7 +601,7 @@ if is_android else target_type = 'executable' target_name = 'mpd' - install_dir = '' + install_dir = get_option('bindir') endif mpd = build_target(