[Libwebsockets] soname in CMake

"Andy Green (林安廸)" andy at warmcat.com
Tue Feb 12 03:54:08 CET 2013

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 action.

Can you make a small patch to add this to the CMake side?



More information about the Libwebsockets mailing list