]> git.meshlink.io Git - meshlink/blobdiff - configure.ac
Handle network change detection on macOS and iOS.
[meshlink] / configure.ac
index f526d927ac3d0a8d0a2b08834cb5fe46eeee12a9..deea29224180ef465f7f401ecf7d9526e09e40d7 100644 (file)
@@ -41,6 +41,9 @@ case $host_os in
     AC_DEFINE(HAVE_MINGW, 1, [MinGW])
     LIBS="$LIBS -lws2_32 -lgdi32 -lcrypt32"
   ;;
+  *darwin*)
+    LIBS="$LIBS -framework SystemConfiguration -framework CoreServices"
+  ;;
 esac
 
 AM_CONDITIONAL(LINUX, test "$linux" = true)