efl_debugd: only compile this on Linux.

Summary:
Well, the build is broken again on BSD and Windows.
efl_debugd is full of lots lovely Linuxisms. Just
don't compile.

This unbreaks the build for FreeBSD and others.

Reviewers: cedric, raster, jpeg

Reviewed By: jpeg

Subscribers: JackDanielZ, jpeg

Differential Revision: https://phab.enlightenment.org/D4946

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Al Poole 2017-06-08 10:51:37 -07:00 committed by Cedric BAIL
parent 0ecf044080
commit eafe0c74e1
2 changed files with 2 additions and 1 deletions

View File

@ -267,6 +267,7 @@ AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"])
AM_CONDITIONAL([HAVE_PS3], [test "x${have_ps3}" = "xyes"])
AM_CONDITIONAL([HAVE_LINUX], [test "x${have_linux}" = "xyes"])
AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"])
AM_CONDITIONAL([HAVE_OSX], [test "x${have_darwin}" = "xyes"])
AM_CONDITIONAL([HAVE_X86_64], [test "x${host_cpu}" = "xx86_64"])

View File

@ -168,7 +168,7 @@ bin_PROGRAMS += bin/efl/efl_debug
# 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
if HAVE_LINUX
bin_PROGRAMS += bin/efl/efl_debugd
endif