unix: add missing link dependency on kFreeBSD

Link to `freebsd-glue` to get `bsd_sendfile`.

PR-URL: https://github.com/libuv/libuv/pull/2008
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>

Bug-Debian: https://bugs.debian.org/904503
This commit is contained in:
Svante Signell 2018-07-25 13:35:38 +02:00 committed by Santiago Gimeno
parent 4772d44087
commit c5d2bf12f7
No known key found for this signature in database
GPG Key ID: F28C3C8DA33C03BE

View File

@ -67,6 +67,9 @@ AS_CASE([$host_os],[mingw*], [
LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv -luser32"
])
AS_CASE([$host_os], [netbsd*], [AC_CHECK_LIB([kvm], [kvm_open])])
AS_CASE([$host_os], [kfreebsd*], [
LIBS="$LIBS -lfreebsd-glue"
])
AC_CHECK_HEADERS([sys/ahafs_evProds.h])
AC_CONFIG_FILES([Makefile libuv.pc])
AC_OUTPUT