diff options
author | Robert Norris <rw_norris@hotmail.com> | 2017-02-14 21:30:17 +0000 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2017-02-17 14:46:05 -0800 |
commit | b8890ecae932892fd8e6fc45a3f003c937d3f82f (patch) | |
tree | abeb528982e197e2cb91ce8ca49e2bbfaf2d4be8 /SConstruct | |
parent | b139396726bb4d951d98ce733538459f4cf21b7c (diff) | |
download | gpsd-b8890ecae932892fd8e6fc45a3f003c937d3f82f.tar.gz |
ntpshmread.c is not used by libgps
This is to make Windows build of libgps easier as Windows doesn't support
sys/ipc.h and sys/shm.h.
Shift to be included in libgpsd instead.
Thus ntpshmmon now requires the libgpsd.
TESTED:
'scons build-all check' passes
Signed-off-by: Fred Wright <fw@fwright.net>
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -986,7 +986,6 @@ libgps_sources = [ "libgps_shm.c", "libgps_sock.c", "netlib.c", - "ntpshmread.c", "os_compat.c", "rtcm2_json.c", "rtcm3_json.c", @@ -1007,6 +1006,7 @@ libgpsd_sources = [ "net_dgpsip.c", "net_gnss_dispatch.c", "net_ntrip.c", + "ntpshmread.c", "ntpshmwrite.c", "ppsthread.c", "packet.c", @@ -1161,7 +1161,7 @@ cgps = env.Program('cgps', ['cgps.c'], LIBS=['gps_static'], parse_flags=gpsflags + ncurseslibs) ntpshmmon = env.Program('ntpshmmon', ['ntpshmmon.c'], - LIBS=['gps_static'], + LIBS=['gpsd', 'gps_static'], parse_flags=gpsflags) ppscheck = env.Program('ppscheck', ['ppscheck.c'], parse_flags=gpsflags) |