Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2023 19:50:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269536] net/mosquitto: Link with correct library type when using websockets option
Message-ID:  <bug-269536-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269536

            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=3D240134&action=
=3Dedit
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)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269536-7788>