diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-03-03 16:30:53 +0100 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-03-11 21:23:52 +0100 |
commit | e7618b7169b691cb21a1de40e906ffead307aa4a (patch) | |
tree | 30bbbeb58e84cec6e9952b9dbaaaae7535f0cc8b | |
parent | 0838c1af6351d2be6164f5f07c06f5de08a8179b (diff) | |
download | efl-e7618b7169b691cb21a1de40e906ffead307aa4a.tar.gz |
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
-rw-r--r-- | src/lib/ecore_file/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_file/meson.build b/src/lib/ecore_file/meson.build index 09ac25ff3e..727c3d372c 100644 --- a/src/lib/ecore_file/meson.build +++ b/src/lib/ecore_file/meson.build @@ -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'] |