diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-01-18 06:49:51 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-01-18 06:49:51 -0500 |
commit | cbc0a2cfc86ff83c22bd5433100b1d95bcd36950 (patch) | |
tree | 1bb28298712602e5f1244621d19859104551d321 /SConstruct | |
parent | adfa428b28b11613c86c45a98f8a2aaebadf90b2 (diff) | |
download | gpsd-cbc0a2cfc86ff83c22bd5433100b1d95bcd36950.tar.gz |
Add the ability to build a libgps.a.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -864,8 +864,7 @@ if qt_env: compile_with = qt_env['CC'] compile_flags = qt_env['CFLAGS'] qtobjects.append(qt_env.SharedObject(src.split(".")[0] + '-qt', src, - CC=compile_with, - CFLAGS=compile_flags, + CC=compile_with, CFLAGS=compile_flags, parse_flags=dbus_libs)) compiled_qgpsmmlib = Library(qt_env, "Qgpsmm", qtobjects, libgps_version) libraries.append(compiled_qgpsmmlib) @@ -875,6 +874,11 @@ if qt_env: gpslibs = ["-lgps", "-lm"] gpsdlibs = ["-lgpsd"] + usblibs + bluezlibs + gpslibs + caplibs +# We need to be able to make a static client library for ad-hoc testing. +# (None of the normal targets relies on this.) + +env.StaticLibrary(target = 'libgps.a', source = libgps_sources) + # Source groups gpsd_sources = ['gpsd.c','ntpshm.c','shmexport.c','dbusexport.c'] |