diff options
author | Patrick McHardy <kaber@trash.net> | 2010-07-24 03:49:03 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-07-24 03:49:03 +0200 |
commit | 292ac38165c3594505a2491dea0a5efeee0c7bd9 (patch) | |
tree | 69a2001308e1c5a2fc49b66a99c6dc8b7c05d57b /example/Makefile.in | |
parent | 89bb432a5e985dcb952774bbdfd76aad1d8f0d3b (diff) |
examples: support libev and fix build on Fedora
Check for and prefer libev over libevent and check for the location
of the event.h file, which is contained in libev/event.h on Fedora.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'example/Makefile.in')
-rw-r--r-- | example/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/Makefile.in b/example/Makefile.in index db9576f..80f59d6 100644 --- a/example/Makefile.in +++ b/example/Makefile.in @@ -1,4 +1,5 @@ -LDFLAGS += -Wl,-rpath $(PWD)/src -Lsrc -ldect -levent +CFLAGS += $(EVENT_CFLAGS) +LDFLAGS += -Wl,-rpath $(PWD)/src -Lsrc -ldect $(EVENT_LDFLAGS) PROGRAMS += cc ss mm-fp mm-pp discover hijack destdir := usr/share/dect/examples |