Path: blob/main/benchmarks/mangohud/files/patch-src_meson.build
16149 views
--- src/meson.build.orig 2020-08-16 16:54:20 UTC1+++ src/meson.build2@@ -3,7 +3,7 @@ glslang = find_program('glslangValidator')3# Needs prefix for configure_file()4if get_option('append_libdir_mangohud')5libdir_mangohud = join_paths(get_option('libdir'), 'mangohud')6- ld_libdir_mangohud = get_option('prefix') + '/\$LIB/mangohud/'7+ ld_libdir_mangohud = get_option('prefix') + '/lib/mangohud/'8else9libdir_mangohud = get_option('libdir')10ld_libdir_mangohud = get_option('prefix') + '/\$LIB/'11@@ -141,7 +141,7 @@ vklayer_mesa_overlay = shared_library(12dep_dl,13dep_rt,14dep_pthread,15- dep_vulkan],16+ dep_inotify],17include_directories : [inc_common],18link_args : link_args,19install_dir : libdir_mangohud,20@@ -187,7 +187,7 @@ configure_file(input : '../bin/mangohud.in',21if get_option('include_doc')22install_data(23files('../bin/MangoHud.conf'),24- install_dir : join_paths(get_option('datadir'), 'doc', 'mangohud'),25+ install_dir : join_paths(get_option('datadir'), 'examples', 'mangohud'),26rename : ['MangoHud.conf.example']27)28endif293031