forked from enlightenment/efl
build: do not reply on header checking libinotify.h
but rather use the sys_bsd flag. The reason why relying on the header existance is bad, is that bsd decided to install this header, with the essential difference, that on bsd we require to link against libinotify, which makes the compilation fail. ref T7710 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8093
This commit is contained in:
parent
0838c1af63
commit
e7618b7169
|
@ -11,7 +11,7 @@ ecore_file_src = [
|
|||
|
||||
if sys_windows == true
|
||||
ecore_file_src += [ 'ecore_file_monitor_win32.c']
|
||||
elif cc.has_header('sys/inotify.h')
|
||||
elif sys_linux == true
|
||||
ecore_file_src += [ 'ecore_file_monitor_inotify.c']
|
||||
else
|
||||
ecore_file_src += [ 'ecore_file_monitor_poll.c']
|
||||
|
|
Loading…
Reference in New Issue