diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-02-26 09:19:05 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-02-26 09:19:05 -0500 |
commit | 4e1d7e53b243ab1ea5b6f0f2cd344f29bf28eb26 (patch) | |
tree | 433706b6502d00fa2f07a1056aa7ad8bab7d561c /SConstruct | |
parent | c1d85a772b4e396a75a1e14bf470e186b4a6b177 (diff) | |
download | gpsd-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-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |