OCaml 4.14.0 rebuild
[arch-packages.git] / mesa-demos / trunk / meson-demos_data_dir.patch
blob40e37d737cd306b396f8a87c41790fddb985cb7a
1 diff -pudr 1/meson.build 2/meson.build
2 --- 1/meson.build 2022-06-16 13:22:14.416192318 +0300
3 +++ 2/meson.build 2022-06-16 13:23:08.790303478 +0300
4 @@ -29,7 +29,7 @@ null_dep = dependency('', required : fal
6 demos_data_dir = '../data/'
7 if get_option('with-system-data-files')
8 - demos_data_dir = get_option('datadir') / 'mesa-demos'
9 + demos_data_dir = get_option('prefix') / get_option('datadir') / 'mesa-demos' / ''
10 endif
11 add_project_arguments(
12 '-DDEMOS_DATA_DIR="@0@"'.format(demos_data_dir),