From 5709832576a3425d9183089b67126b0a8379eee7 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Thu, 23 Jun 2022 13:45:10 +0100 Subject: [PATCH] Install MangoApp layer into libdir_mangohud This makes the installation path adapt correctly to the value of the append_libdir_mangohud option, which defaults to putting it in a subdirectory ${libdir}/mangohud. Without this, the path in the JSON manifest (which does respect append_libdir_mangohud) is inconsistent with the actual location of the library. Resolves: https://github.com/flightlessmango/MangoHud/issues/795 Co-authored-by: Simon McVittie --- src/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meson.build b/src/meson.build index 6841c387f3..63cfdad792 100644 --- a/src/meson.build +++ b/src/meson.build @@ -282,6 +282,7 @@ if get_option('mangoapp_layer') gnu_symbol_visibility : 'hidden', include_directories : [inc_common], link_args : link_args, + install_dir : libdir_mangohud, install : true ) endif