From c32c612dc32c7bbf0c7a15feb8f30b4dafc58918 Mon Sep 17 00:00:00 2001 From: Ryan Lucia Date: Sat, 30 Jan 2021 16:22:05 -0500 Subject: [PATCH] meson: set dataroot correctly for osx bundle --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 9b361f50f..aaa800cb8 100644 --- a/meson.build +++ b/meson.build @@ -37,14 +37,15 @@ if host_machine.system() == 'darwin' and get_option('build_osx_bundle') bindir = prefix / 'MacOS' datadir = prefix / 'SharedSupport' localedir = prefix / 'Resources' + dataroot = datadir else prefix = get_option('prefix') bindir = prefix / get_option('bindir') datadir = prefix / get_option('datadir') localedir = prefix / get_option('localedir') + dataroot = datadir / 'aegisub' endif docdir = prefix / 'doc' -dataroot = datadir / 'aegisub' # MSVC sets this automatically with -MDd, but it has a different meaning on other platforms if get_option('debug') and host_machine.system() != 'windows'