summaryrefslogtreecommitdiff
path: root/examples/simple_rx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple_rx/Makefile')
-rw-r--r--examples/simple_rx/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/simple_rx/Makefile b/examples/simple_rx/Makefile
index e15601ea..7ca14365 100644
--- a/examples/simple_rx/Makefile
+++ b/examples/simple_rx/Makefile
@@ -3,7 +3,8 @@ OPT = -O2 -g
CFLAGS = $(OPT) -Wall -Wextra -Wno-parentheses
IGBDIR = ../../lib/igb
INCFLAGS = -I../../daemons/mrpd -I../common -I../../daemons/common -I$(IGBDIR)
-LDLIBS = -lpcap -lsndfile -pthread -lpci
+# GLIBC versions starting with 2.17 don't need -lrt anymore
+LDLIBS = -lpcap -lsndfile -pthread -lpci -lrt
all: simple_rx