diff --git a/scripts/install.sh b/scripts/install.sh
index d780f1e8749727eeb6768da76b5f0673a33eed6d..bf10a807b3cc7e6512f5a91e206b427dc22cff45 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -65,9 +65,9 @@ make
 cd "${DAEMON}"
 ./autogen.sh
 if $global; then
-  ./configure $CONFIGURE_FLAGS
+  ./configure --disable-shared $CONFIGURE_FLAGS
 else
-  ./configure $CONFIGURE_FLAGS --prefix="${INSTALL}/daemon"
+  ./configure --disable-shared $CONFIGURE_FLAGS --prefix="${INSTALL}/daemon"
 fi
 make -j${proc}
 make_install $global