summaryrefslogtreecommitdiffstats
path: root/example/Makefile.in
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-07-24 03:49:03 +0200
committerPatrick McHardy <kaber@trash.net>2010-07-24 03:49:03 +0200
commit292ac38165c3594505a2491dea0a5efeee0c7bd9 (patch)
tree69a2001308e1c5a2fc49b66a99c6dc8b7c05d57b /example/Makefile.in
parent89bb432a5e985dcb952774bbdfd76aad1d8f0d3b (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.in3
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