summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorKen Harris <kjh@hokulea.org>2018-06-16 18:33:32 -0700
committerGary E. Miller <gem@rellim.com>2018-06-16 18:33:32 -0700
commit62cba3f59855e0ad374ab1e97eb8669c999a18a8 (patch)
tree310301ed7c74e95fc4f084027f9fcb75e44ad558 /SConstruct
parent7e5d00c745eadf1dee23c117ad438d72b29e812b (diff)
downloadgpsd-62cba3f59855e0ad374ab1e97eb8669c999a18a8.tar.gz
Fix "NMEA 2000" driver build on OpenWRT
I found build bug that caused the "NMEA 2000" driver not to exist on OpenWRT : the head file bits/sockaddr.h is not found (perhaps because OpenWRT uses "musl"), which causes scons to announce "You do not have kernel CANbus available." I just took the bits/sockaddr.h test out and "gpsd" builds and runs fine.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index c0e14c77..a0bffdce 100644
--- a/SConstruct
+++ b/SConstruct
@@ -770,7 +770,7 @@ else:
"+ strlen((ptr)->sun_path))\n")
confdefs.append("#endif /* SUN_LEN */\n")
- if config.CheckHeader(["bits/sockaddr.h", "linux/can.h"]):
+ if config.CheckHeader(["linux/can.h"]):
confdefs.append("#define HAVE_LINUX_CAN_H 1\n")
announce("You have kernel CANbus available.")
else: