diff --git a/meson.build b/meson.build index af4a6bcd97..14b9616f92 100644 --- a/meson.build +++ b/meson.build @@ -1624,7 +1624,7 @@ sys.stdout.write(features) ''' feature_str = run_command(python, '-c', feature_sort, feature_keys, check: true).stdout() conf_data.set_quoted('FULLCONFIG', feature_str) -conf_data.set_quoted('MPV_CONFDIR', join_paths(get_option('sysconfdir'), 'mpv')) +conf_data.set_quoted('MPV_CONFDIR', join_paths(get_option('prefix'), get_option('sysconfdir'), 'mpv')) configure_file(output : 'config.h', configuration : conf_data) message('List of enabled features: ' + feature_str)