From c5d2bf12f7565e143b6becd2560428e602485d06 Mon Sep 17 00:00:00 2001 From: Svante Signell Date: Wed, 25 Jul 2018 13:35:38 +0200 Subject: [PATCH] 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 Bug-Debian: https://bugs.debian.org/904503 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 0d9066bb..85692a3f 100644 --- a/configure.ac +++ b/configure.ac @@ -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