Source: libwebsockets
Version: 2.4.2-1
Severity: important
Tags: patch
Control: found -1 4.0.1-1

Hi,

starting from 2.4.2-1, libwebsockets cannot be built on non-Linux
architectures due to the unconditional libcap-dev build dependency.
Considering that libcap is Linux-specific, it is possible to restrict
its usage only on Linux architectures.

Patch attached for this.

Thanks,
-- 
Pino
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: libs
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org>
 Uploaders: Peter Pentchev <r...@ringlet.net>
-Build-Depends: debhelper-compat (= 11), cmake, libcap-dev, libev-dev, 
libssl-dev, libuv1-dev,
+Build-Depends: debhelper-compat (= 11), cmake, libcap-dev [linux-any], 
libev-dev, libssl-dev, libuv1-dev,
        openssl, zlib1g-dev
 Standards-Version: 4.5.0
 Homepage: https://libwebsockets.org/

Reply via email to