You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest libmicrohttpd v1.0.1 can be compiled with the experimental WebSocket upgrade mechanism by issuing ./configure --enable-experimental. When using WebSockets one needs to link with the extra WebSockets functions by adding the extra library -lmicrohttpd_ws.
Unfortunately, the "pkg-config" files does not include this extra library when compiled with the "--enable--experimental":
Sorry I am unable to submit a patch due to being unfamiliar with the autoconfig process like the "configure.ac", "Makefile.am" files etc.
I've forked the libmicrohttpd repository and opened the "configure.ac, Makefile.am" but learning the auto-configuration process completely from scratch would i) take up too much time away from the daily job duties and ii) likely result in mistakes / broken libmicrohttpd.
The latest libmicrohttpd v1.0.1 can be compiled with the experimental WebSocket upgrade mechanism by issuing
./configure --enable-experimental
. When using WebSockets one needs to link with the extra WebSockets functions by adding the extra library-lmicrohttpd_ws
.Unfortunately, the "pkg-config" files does not include this extra library when compiled with the "--enable--experimental":
even though the extra library is correctly compiled and placed in the destination lib directory:
The solution: add
-lmicrohttpd_ws
to thelibmicrohttpd.pc
file thatmake install
places in the/usr/local/lib/pkgconfig
folder.The text was updated successfully, but these errors were encountered: