meson: fix source file inclusion in libaegisub on osx

This commit is contained in:
Ryan Lucia 2019-10-05 20:44:54 -04:00
parent 93a8f30da1
commit 8fa9b3e112
1 changed files with 19 additions and 18 deletions

View File

@ -58,7 +58,9 @@ if host_machine.system() == 'darwin'
]
else
libaegisub_src += 'common/dispatch.cpp'
if host_machine.system() == 'windows'
endif
if host_machine.system() == 'windows'
libaegisub_src += [
'windows/access.cpp',
'windows/charset_conv_win.cpp',
@ -67,7 +69,7 @@ else
'windows/path_win.cpp',
'windows/util_win.cpp',
]
else
else
libaegisub_src += [
'unix/access.cpp',
'unix/fs.cpp',
@ -75,7 +77,6 @@ else
'unix/path.cpp',
'unix/util.cpp',
]
endif
endif
libaegisub_cpp_pch = ['include/lagi_pre.h']