]> arthur.barton.de Git - netdata.git/blobdiff - configure.ac
Merge pull request #1463 from ktsaou/master
[netdata.git] / configure.ac
index ed8f8212b635a6be0d3e3735eb4e80e152b28af9..d2745f62fc48319e123508ed188dc04cd5ba3436 100644 (file)
@@ -45,13 +45,15 @@ freebsd*)
        build_target=freebsd
        ;;
 darwin*)
-       build_target=freebsd
+       build_target=macos
+       LDFLAGS="${LDFLAGS} -framework CoreFoundation -framework IOKit"
        ;;
 *)
        ;;
 esac
 
 AM_CONDITIONAL([FREEBSD], [test x$build_target = xfreebsd])
+AM_CONDITIONAL([MACOS], [test x$build_target = xmacos])
 
 AC_ARG_ENABLE(
        [plugin-nfacct],