[Libwebsockets] soname in CMake
joakim.soderberg at gmail.com
Tue Feb 12 17:31:23 CET 2013
I've added the change you requested. And since setting the soname kind of
only makes sense when compiling the shared version of the library, I also
added support for building that in the CMake project on both Windows and
unix (previous version was static only).
Tested on Windows, Linux (debian) and OSX.
On Tue, Feb 12, 2013 at 3:54 AM, "Andy Green (林安廸)" <andy at warmcat.com>wrote:
> Hi Joakim -
> I added a patch to bump the version to 1.2 and the soname for the library
> to so.3.0.0
> but when I tried to update the CMakelists.txt the same I couldn't see how
> it sets the soname.
> All it needs to do is add
> -version-info 3:0:0
> to LDFLAGS used to make the library. Since we're making small changes to
> the api, it really needs to make a break with the old soname or apps will
> crash when they update the library. It only needs it on the library link
> Can you make a small patch to add this to the CMake side?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets