windows: Add evil_unposix as declare_dependency when not in windows

This commit is contained in:
João Paulo Taylor Ienczak Zanette 2020-04-22 12:13:11 -03:00
parent 9af77e4929
commit 23459a4eb5
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,7 @@
evil_deps = []
evil_pub_deps = []
if target_machine.system() == 'windows'
subdir('unposix')
if target_machine.system() == 'windows'
evil_src = [
'evil_dlfcn.c',
'evil_fcntl.c',
@ -40,6 +39,7 @@ if target_machine.system() == 'windows'
)
else
evil = declare_dependency()
evil_unposix = declare_dependency()
endif
automatic_pkgfile = false