Merge pull request #50258 from peterhoeg/f/mqtt

mosquitto: enable websockets support
This commit is contained in:
Peter Hoeg 2018-11-14 09:09:23 +08:00 committed by GitHub
commit 7c2babf84c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
substituteInPlace man/manpage.xsl \
--replace /usr/share/xml/docbook/stylesheet/ ${docbook_xsl}/share/xml/
for f in {lib,lib/cpp,src}/CMakeLists.txt ; do
substituteInPlace $f --replace /sbin/ldconfig ldconfig
done
# the manpages are not generated when using cmake
pushd man
make
@ -39,6 +43,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DWITH_THREADING=ON"
"-DWITH_WEBSOCKETS=ON"
];
meta = with stdenv.lib; {