tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: websockets cmake woes



Niclas Rosenvik <nros%netbsd.org@localhost> writes:

> The root cause is in lib/CMakeLists.txt where just as nia mentions it
> links directly to libdl. I have added a patch to libwebsockets that
> makes it link to ${CMAKE_DL_LIBS} instead and it only links privately
> to libdl so dl should not turn up on the INTERFACE_LINK_LIBRARIES list
> on systems that have libdl either. Try it. 

Thanks to you and nia for comments and for your fix.
mosquitto without the workaround now builds without warnings.

It would be nice to push your fix upstream.


Home | Main Index | Thread Index | Old Index