diff options
| author | Roy Marples <roy@marples.name> | 2014-12-20 14:11:38 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-12-20 14:11:38 +0000 |
| commit | 71d20c8a1228f15884f3120f6db19798075612e2 (patch) | |
| tree | 2a5ef7f5deb3370329a2f451eeb706b10576d77c /configure | |
| parent | 7329549972eb95b1cf67ee033badedd50e5b9e80 (diff) | |
| download | dhcpcd-71d20c8a1228f15884f3120f6db19798075612e2.tar.xz | |
Fix compile on QNX. Thanks to Will Miles.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -506,6 +506,9 @@ if $XCC _inet_ntoa.c -o _inet_ntoa 2>&3; then elif $XCC _inet_ntoa.c -lnsl -o _inet_ntoa 2>&3; then echo "yes (-lnsl)" echo "LDADD+= -lnsl" >>$CONFIG_MK +elif $XCC _inet_ntoa.c -lsocket -o _inet_ntoa 2>&3; then + echo "yes (-lsocket)" + echo "LDADD+= -lsocket" >>$CONFIG_MK else echo "no" echo "libc support for inet_ntoa is required - aborting" >&2 |
