Browse Source

Fixed bundling of libwebsockets in binary packages. (#10460)

Unintentionally broken by #9984. This re-enables cloud support in binary
packages.
Austin S. Hemmelgarn 4 years ago
parent
commit
ea5837d369
2 changed files with 3 additions and 1 deletions
  1. 2 1
      contrib/debian/rules
  2. 1 0
      netdata.spec.in

+ 2 - 1
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

+ 1 - 0
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}" \