diff --git a/Formula/mosquitto.rb b/Formula/mosquitto.rb index 4f3a92cad299e..de11496e700dc 100644 --- a/Formula/mosquitto.rb +++ b/Formula/mosquitto.rb @@ -16,6 +16,10 @@ class Mosquitto < Formula depends_on "libwebsockets" depends_on "openssl@1.1" + on_linux do + depends_on "util-linux" + end + def install system "cmake", ".", *std_cmake_args, "-DWITH_WEBSOCKETS=ON" system "make", "install"