aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-04-26 09:06:47 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-05-06 17:00:49 +0200
commitf6563234730ceb18805ef3416d71bf7ea558034b (patch)
tree41142e654072365d68ed7568fa25074e40ee9d35
parentmeson: add intl to efreet all binary deps (diff)
downloadefl-f6563234730ceb18805ef3416d71bf7ea558034b.tar.gz
meson: conditionally compile ecore_pipe_simple_example for windows
windows does not have fork() so this cannot be built Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8726
-rw-r--r--src/examples/ecore/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/examples/ecore/meson.build b/src/examples/ecore/meson.build
index c0b42959fa..c4d11c7a7d 100644
--- a/src/examples/ecore/meson.build
+++ b/src/examples/ecore/meson.build
@@ -7,7 +7,6 @@ examples = [
'ecore_file_download_example',
'ecore_idler_example',
'ecore_job_example',
- 'ecore_pipe_simple_example',
'ecore_poller_example',
'ecore_thread_example',
'ecore_time_functions_example',
@@ -15,6 +14,10 @@ examples = [
'ecore_getopt_example'
]
+if config_h.has('HAVE_FORK')
+ examples += 'ecore_pipe_simple_example'
+endif
+
gnutls = dependency('gnutls', required : false)
if gnutls.found()
examples += ['ecore_fd_handler_gnutls_example']