aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-22 10:19:46 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-22 10:36:50 +0200
commitb4584ff6c433551f9b633d3e0c6d00380119fa89 (patch)
tree39e50fbf850f2c5ccb68632b6919e2c2bd99efda /src
parent0808f6860111ef54e80a2865029760e063c29755 (diff)
build: Add -lrt to AM_LDFLAGS
This is needed to link programs using clock_gettime and related functions when compiling with older glibc versions. This should fix the Jenkins build. Nevertheless fixing this in configure.ac were probably nicer. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b18c1cea..a63281fa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,6 +25,7 @@ AM_CPPFLAGS += -DENABLE_SYSMODSP
endif
AM_CXXFLAGS = -Wall -ldl -pthread
+AM_LDFLAGS = -lrt
noinst_LTLIBRARIES = libgprs.la