From e9f727044b38b1e1897dc28161d355f0d18a4ecb Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Mon, 5 Jun 2017 19:02:33 +0200 Subject: [PATCH] efl_debugd: don't compile this on macOS Well, the build is broken again on macOS :( efl_debugd is full of platform-specific code: network and epoll. To make it compile (not work as expected, just compile), we would need to comment out most of efl_debugd's code. So instead of having a crippled, useless binary, just don't compile it on macOS. This unbreaks the build for macOS. --- src/Makefile_Efl.am | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am index 6fda23e..f501c825 100644 --- a/src/Makefile_Efl.am +++ b/src/Makefile_Efl.am @@ -162,9 +162,15 @@ endif ### Binary -bin_PROGRAMS += \ -bin/efl/efl_debugd \ -bin/efl/efl_debug +bin_PROGRAMS += bin/efl/efl_debug + +# FIXME efl_debugd for now is too linux-specific. It cannot compile under +# macOS/windows without commenting out most of the code. So, instead of +# having an efl_debugd that won't do anything on macOS, we just wont't +# compile it, until we've made it cross-platform. +if !HAVE_OSX +bin_PROGRAMS += bin/efl/efl_debugd +endif bin_efl_efl_debugd_SOURCES = bin/efl/efl_debugd.c bin_efl_efl_debugd_CPPFLAGS = -I$(top_builddir)/src/bin/efl @EINA_CFLAGS@ @ECORE_CFLAGS@ @ECORE_CON_CFLAGS@ -- 2.7.4