gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH] Link with librt for pre-2.17 versions of glibc


From: Beat Bolli
Subject: [gpsd-dev] [PATCH] Link with librt for pre-2.17 versions of glibc
Date: Mon, 23 Mar 2015 23:20:11 +0100

As stated in the man page of clock_gettime(2).

This fixes the build on my Raspberry running Debian 7 with glibc 2.13.

Signed-off-by: Beat Bolli <address@hidden>
---
 SConstruct | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SConstruct b/SConstruct
index ba425e7..29ac977 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1043,7 +1043,7 @@ if qt_env:
 # The libraries have dependencies on system libraries
 # libdbus appears multiple times because the linker only does one pass.
 
-gpsflags = ["-lm"] + dbusflags
+gpsflags = ["-lm"] + rtlibs + dbusflags
 gpsdflags = usbflags + bluezflags + gpsflags
 
 gpslibs = ["-lgps"] + gpsflags
-- 
2.1.4



reply via email to

[Prev in Thread] Current Thread [Next in Thread]