From b4584ff6c433551f9b633d3e0c6d00380119fa89 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Mon, 22 Jun 2015 10:19:46 +0200 Subject: 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 --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Makefile.am') 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 -- cgit v1.2.3