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 3147f303c8
commit 5ec5271eb5

View file

@ -58,24 +58,25 @@ if host_machine.system() == 'darwin'
] ]
else else
libaegisub_src += 'common/dispatch.cpp' libaegisub_src += 'common/dispatch.cpp'
if host_machine.system() == 'windows' endif
libaegisub_src += [
'windows/access.cpp', if host_machine.system() == 'windows'
'windows/charset_conv_win.cpp', libaegisub_src += [
'windows/fs.cpp', 'windows/access.cpp',
'windows/log_win.cpp', 'windows/charset_conv_win.cpp',
'windows/path_win.cpp', 'windows/fs.cpp',
'windows/util_win.cpp', 'windows/log_win.cpp',
] 'windows/path_win.cpp',
else 'windows/util_win.cpp',
libaegisub_src += [ ]
'unix/access.cpp', else
'unix/fs.cpp', libaegisub_src += [
'unix/log.cpp', 'unix/access.cpp',
'unix/path.cpp', 'unix/fs.cpp',
'unix/util.cpp', 'unix/log.cpp',
] 'unix/path.cpp',
endif 'unix/util.cpp',
]
endif endif
libaegisub_cpp_pch = ['include/lagi_pre.h'] libaegisub_cpp_pch = ['include/lagi_pre.h']