Browse Source

add -lresolv on Linux

master
Brent Cook 4 years ago
parent
commit
e450d4ec98
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      m4/check-os-options.m4

+ 1
- 0
m4/check-os-options.m4 View File

@ -49,6 +49,7 @@ case $host_os in
HOST_ABI=elf
CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
AC_DEFINE([SPT_TYPE], [SPT_REUSEARGV])
AC_SUBST([PROG_LDADD], ['-lresolv'])
;;
*netbsd*)
HOST_OS=netbsd


Loading…
Cancel
Save