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 /src/lib/ecore_file/meson.build | |
parent | 0838c1af6351d2be6164f5f07c06f5de08a8179b (diff) |
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
Diffstat (limited to '')
-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 = [ | |||
11 | 11 | ||
12 | if sys_windows == true | 12 | if sys_windows == true |
13 | ecore_file_src += [ 'ecore_file_monitor_win32.c'] | 13 | ecore_file_src += [ 'ecore_file_monitor_win32.c'] |
14 | elif cc.has_header('sys/inotify.h') | 14 | elif sys_linux == true |
15 | ecore_file_src += [ 'ecore_file_monitor_inotify.c'] | 15 | ecore_file_src += [ 'ecore_file_monitor_inotify.c'] |
16 | else | 16 | else |
17 | ecore_file_src += [ 'ecore_file_monitor_poll.c'] | 17 | ecore_file_src += [ 'ecore_file_monitor_poll.c'] |