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 <smcv@collabora.com>
pull/151/head^2
Stephan Lachnit 2 years ago committed by jackun
parent c6bc257e11
commit 5709832576

@ -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

Loading…
Cancel
Save