[Libwebsockets] How to compile so as to use the daemon mode in Fedora 23?

Andy Green andy at warmcat.com
Wed May 4 21:56:50 CEST 2016



On May 4, 2016 10:31:08 PM GMT+08:00, Colin Adams <colinpauladams at gmail.com> wrote:
>I'm on Fedora, and trying to link against libwebsockets.so is failing
>when
>using lws_daemonize.
>
>I tried editing the .spec file to say this :
>
>%cmake -D LWS_NO_DAEMONIZE=OFF ..
>
>and rebuilding and reinstalling the rpms, but it doesn't make any
>difference to my result.
>
>I'm not familiar with cmake, so I guess I have just made a silly
>mistake,
>but don't know what to do.

Sorry it's a bit confusing.  The flag is listed at the top of CMakeLists.txt as

LWS_WITHOUT_DAEMONIZE

So just do what you're doing with that flag instead.

-Andy

>
>------------------------------------------------------------------------
>
>_______________________________________________
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
>http://libwebsockets.org/mailman/listinfo/libwebsockets




More information about the Libwebsockets mailing list