[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH] gpsmon: always link with -lm
From: |
Mike Frysinger |
Subject: |
[gpsd-dev] [PATCH] gpsmon: always link with -lm |
Date: |
Fri, 13 Jan 2012 12:21:05 -0500 |
Since the gpsmon pkg uses math funcs itself (and not just via libgps),
we need to link in -lm for the app.
Signed-off-by: Mike Frysinger <address@hidden>
---
SConstruct | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/SConstruct b/SConstruct
index 68bf367..a5249c1 100644
--- a/SConstruct
+++ b/SConstruct
@@ -851,7 +851,7 @@ gpsdctl = env.Program('gpsdctl', ['gpsdctl.c'],
parse_flags=gpslibs)
env.Depends(gpsdctl, compiled_gpslib)
gpsmon = env.Program('gpsmon', gpsmon_sources,
- parse_flags=gpsdlibs + ncurseslibs)
+ parse_flags=gpsdlibs + ncurseslibs + ['-lm'])
env.Depends(gpsmon, [compiled_gpsdlib, compiled_gpslib])
gpspipe = env.Program('gpspipe', ['gpspipe.c'], parse_flags=gpslibs)
--
1.7.8.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-dev] [PATCH] gpsmon: always link with -lm,
Mike Frysinger <=