summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-02-26 09:19:05 -0500
committerEric S. Raymond <esr@thyrsus.com>2012-02-26 09:19:05 -0500
commit4e1d7e53b243ab1ea5b6f0f2cd344f29bf28eb26 (patch)
tree433706b6502d00fa2f07a1056aa7ad8bab7d561c /SConstruct
parentc1d85a772b4e396a75a1e14bf470e186b4a6b177 (diff)
downloadgpsd-4e1d7e53b243ab1ea5b6f0f2cd344f29bf28eb26.tar.gz
Make static linking work again.
Location of -lm in the link line had to move.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 8ce8c0b9..d6374a10 100644
--- a/SConstruct
+++ b/SConstruct
@@ -765,7 +765,7 @@ compiled_gpslib = Library(env=env,
target="gps",
sources=libgps_sources,
version=libgps_version,
- parse_flags= ["-lm"] + dbus_libs)
+ parse_flags=dbus_libs)
env.Clean(compiled_gpslib, "gps_maskdump.c")
compiled_gpsdlib = Library(env=env,
@@ -802,7 +802,7 @@ if qt_env:
# The libraries have dependencies on system libraries
-gpslibs = ["-lgps"]
+gpslibs = ["-lgps", "-lm"]
gpsdlibs = ["-lgpsd"] + usblibs + bluezlibs + gpslibs
# Source groups