Merge pull request #319307 from devusb/chiaki4deck-ws

chiaki4deck: restore check for curl websocket support
This commit is contained in:
Peder Bergebakken Sundt 2024-07-28 23:47:20 +02:00 committed by GitHub
commit ee37cb76ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,11 +85,8 @@ stdenv.mkDerivation rec {
xxHash
];
# handle cmake not being able to identify if curl is built with websocket support, and library name discrepancy when curl not built with cmake
# handle library name discrepancy when curl not built with cmake
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail ' WS WSS' ""
substituteInPlace lib/CMakeLists.txt \
--replace-fail 'libcurl_shared' 'libcurl'
'';