diff options
author | Ken Harris <kjh@hokulea.org> | 2018-06-16 18:33:32 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-06-16 18:33:32 -0700 |
commit | 62cba3f59855e0ad374ab1e97eb8669c999a18a8 (patch) | |
tree | 310301ed7c74e95fc4f084027f9fcb75e44ad558 /SConstruct | |
parent | 7e5d00c745eadf1dee23c117ad438d72b29e812b (diff) | |
download | gpsd-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-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |