diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-13 12:21:05 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-01-13 13:35:03 -0500 |
commit | 580bfa4874480b1e6dec208988908ffe384cb938 (patch) | |
tree | b1e68f6fa1af700f875bc9fa559e908bf884a59c /SConstruct | |
parent | a76c485b59e421d27c951165aacd5fa7b15da2e0 (diff) | |
download | gpsd-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-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |