[Bug 269536] net/mosquitto: Link with correct library type when using websockets option
Date: Mon, 13 Feb 2023 19:50:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269536 Bug ID: 269536 Summary: net/mosquitto: Link with correct library type when using websockets option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: diizzy@FreeBSD.org CC: joe@thrallingpenguin.com Flags: maintainer-feedback?(joe@thrallingpenguin.com) CC: joe@thrallingpenguin.com Created attachment 240134 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240134&action=edit Patch for mosquitto There seems to be a bit of desync between libwebsockets and Mosquitto. Libwebsockets refers to static library as websockets and shared as websockets_shared. Currently it causes shared option to link with static library and static option doesn't work at all. Reference: https://github.com/warmcat/libwebsockets/blob/main/lib/CMakeLists.txt#L279 Compile tested on FreeBSD 13.2-BETA1 (amd64) -- You are receiving this mail because: You are the assignee for the bug.