summaryrefslogtreecommitdiff
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
parent0838c1af6351d2be6164f5f07c06f5de08a8179b (diff)
downloadefl-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.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 = [
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']