meson: set dataroot correctly for osx bundle
This commit is contained in:
parent
1fd574f556
commit
c32c612dc3
1 changed files with 2 additions and 1 deletions
|
@ -37,14 +37,15 @@ if host_machine.system() == 'darwin' and get_option('build_osx_bundle')
|
||||||
bindir = prefix / 'MacOS'
|
bindir = prefix / 'MacOS'
|
||||||
datadir = prefix / 'SharedSupport'
|
datadir = prefix / 'SharedSupport'
|
||||||
localedir = prefix / 'Resources'
|
localedir = prefix / 'Resources'
|
||||||
|
dataroot = datadir
|
||||||
else
|
else
|
||||||
prefix = get_option('prefix')
|
prefix = get_option('prefix')
|
||||||
bindir = prefix / get_option('bindir')
|
bindir = prefix / get_option('bindir')
|
||||||
datadir = prefix / get_option('datadir')
|
datadir = prefix / get_option('datadir')
|
||||||
localedir = prefix / get_option('localedir')
|
localedir = prefix / get_option('localedir')
|
||||||
|
dataroot = datadir / 'aegisub'
|
||||||
endif
|
endif
|
||||||
docdir = prefix / 'doc'
|
docdir = prefix / 'doc'
|
||||||
dataroot = datadir / 'aegisub'
|
|
||||||
|
|
||||||
# MSVC sets this automatically with -MDd, but it has a different meaning on other platforms
|
# MSVC sets this automatically with -MDd, but it has a different meaning on other platforms
|
||||||
if get_option('debug') and host_machine.system() != 'windows'
|
if get_option('debug') and host_machine.system() != 'windows'
|
||||||
|
|
Loading…
Reference in a new issue