3
0
Fork 0
forked from mirrors/nixpkgs

mosquitto: enable websockets support

This commit is contained in:
Peter Hoeg 2018-11-12 15:47:26 +08:00
parent 6141939d6e
commit 195ba2136e

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; {