summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-03-03 16:30:53 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-03-11 21:23:52 +0100
commite7618b7169b691cb21a1de40e906ffead307aa4a (patch)
tree30bbbeb58e84cec6e9952b9dbaaaae7535f0cc8b /src/lib/ecore_file
parent0838c1af6351d2be6164f5f07c06f5de08a8179b (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 'src/lib/ecore_file')
-rw-r--r--src/lib/ecore_file/meson.build2
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
12if sys_windows == true 12if sys_windows == true
13 ecore_file_src += [ 'ecore_file_monitor_win32.c'] 13 ecore_file_src += [ 'ecore_file_monitor_win32.c']
14elif cc.has_header('sys/inotify.h') 14elif sys_linux == true
15 ecore_file_src += [ 'ecore_file_monitor_inotify.c'] 15 ecore_file_src += [ 'ecore_file_monitor_inotify.c']
16else 16else
17 ecore_file_src += [ 'ecore_file_monitor_poll.c'] 17 ecore_file_src += [ 'ecore_file_monitor_poll.c']