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