From 8dfe98e4954f330e6bf0d881a8a9a59847e59718 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Sun, 3 Mar 2019 16:30:53 +0100 Subject: [PATCH] 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 Differential Revision: https://phab.enlightenment.org/D8093 --- src/lib/ecore_file/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_file/meson.build b/src/lib/ecore_file/meson.build index 09ac25f..727c3d3 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'] -- 2.7.4