From ea5837d369171991b5f9e19d631e10a935536d3d Mon Sep 17 00:00:00 2001 From: "Austin S. Hemmelgarn" Date: Mon, 11 Jan 2021 08:21:22 -0500 Subject: [PATCH] Fixed bundling of libwebsockets in binary packages. (#10460) Unintentionally broken by #9984. This re-enables cloud support in binary packages. --- contrib/debian/rules | 3 ++- netdata.spec.in | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/debian/rules b/contrib/debian/rules index f63ea935ef..9bfd057f1a 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -39,7 +39,8 @@ override_dh_auto_configure: packaging/bundle-libbpf.sh . autoreconf -ivf dh_auto_configure -- --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib \ - --libexecdir=/usr/libexec --with-user=netdata --with-math --with-zlib --with-webdir=/var/lib/netdata/www + --libexecdir=/usr/libexec --with-user=netdata --with-math --with-zlib --with-webdir=/var/lib/netdata/www \ + --with-bundled-lws=externaldeps/libwebsockets override_dh_install: cp -v $(BASE_CONFIG) debian/netdata.conf diff --git a/netdata.spec.in b/netdata.spec.in index 7f0b066379..81127b0bfc 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -234,6 +234,7 @@ autoreconf -ivf %if 0%{!?fedora:1} && 0%{!?suse_version:1} --with-libJudy=externaldeps/libJudy \ %endif + --with-bundled-lws=externaldeps/libwebsockets --prefix="%{_prefix}" \ --sysconfdir="%{_sysconfdir}" \ --localstatedir="%{_localstatedir}" \