summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLevi Pearson <levi.pearson@harman.com>2016-07-28 11:32:25 -0600
committerLevi Pearson <levi.pearson@harman.com>2016-07-28 11:32:25 -0600
commit0fa07790aa7cb0aa9a857b80fbe3b426af2eab84 (patch)
tree7b12b2d409b79ea4773c016d6f72cedd43a1b708 /examples
parent8bdff486c0779dfd62fc4f339ce0a1d064b213c8 (diff)
downloadOpen-AVB-0fa07790aa7cb0aa9a857b80fbe3b426af2eab84.tar.gz
Add -lrt to simple_rx build for Travis
Diffstat (limited to 'examples')
-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