summaryrefslogtreecommitdiff
path: root/lib/tevent/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-20 22:14:24 -0400
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:58 +1000
commit6858e73e409c29bbfa694bc0ec5035290b4f7c54 (patch)
treef31c5897dc2e92df8a6a3f0673a798d00b1b9608 /lib/tevent/wscript
parentea8d112683504030c782b5f7e41104bdb33f66a1 (diff)
downloadsamba-6858e73e409c29bbfa694bc0ec5035290b4f7c54.tar.gz
samba-6858e73e409c29bbfa694bc0ec5035290b4f7c54.tar.bz2
samba-6858e73e409c29bbfa694bc0ec5035290b4f7c54.zip
build: tevent_epoll.c is conditional on HAVE_EPOLL
Diffstat (limited to 'lib/tevent/wscript')
-rw-r--r--lib/tevent/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index be5405469c..0a6f01163e 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -27,10 +27,12 @@ def build(bld):
bld.BUILD_SUBDIR(LIBREPLACE_DIR)
bld.BUILD_SUBDIR(LIBTALLOC_DIR)
- SRC = '''tevent.c tevent_debug.c tevent_epoll.c tevent_fd.c tevent_immediate.c
+ SRC = '''tevent.c tevent_debug.c tevent_fd.c tevent_immediate.c
tevent_queue.c tevent_req.c tevent_select.c
tevent_signal.c tevent_standard.c tevent_timed.c tevent_util.c tevent_wakeup.c'''
+ if bld.CONFIG_SET('HAVE_EPOLL'):
+ SRC += ' tevent_epoll.c'
bld.SAMBA_LIBRARY('tevent',
SRC,