summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Norris <rw_norris@hotmail.com>2017-02-14 21:30:17 +0000
committerFred Wright <fw@fwright.net>2017-02-17 14:46:05 -0800
commitb8890ecae932892fd8e6fc45a3f003c937d3f82f (patch)
treeabeb528982e197e2cb91ce8ca49e2bbfaf2d4be8
parentb139396726bb4d951d98ce733538459f4cf21b7c (diff)
downloadgpsd-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>
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index bc7ba644..1de0fa75 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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)