summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-13 12:21:05 -0500
committerEric S. Raymond <esr@thyrsus.com>2012-01-13 13:35:03 -0500
commit580bfa4874480b1e6dec208988908ffe384cb938 (patch)
treeb1e68f6fa1af700f875bc9fa559e908bf884a59c /SConstruct
parenta76c485b59e421d27c951165aacd5fa7b15da2e0 (diff)
downloadgpsd-580bfa4874480b1e6dec208988908ffe384cb938.tar.gz
gpsmon: always link with -lm
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 <vapier@gentoo.org> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index ccaca7da..79717ac2 100644
--- a/SConstruct
+++ b/SConstruct
@@ -850,7 +850,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)