BelledonneCommunications / mediastreamer2

Linphone.org mirror for mediastreamer2 (git://git.linphone.org/mediastreamer2.git)
http://linphone.org
GNU Affero General Public License v3.0
133 stars 104 forks source link

[Bug]: SOVERSION is not used when building a shared library for Linux. #46

Open expeehaa opened 8 months ago

expeehaa commented 8 months ago

The comment in line 619 says that the SOVERSION should only be set if the system is not Android, but the line setting the SOVERSION for the shared library is in a conditional branch that is only run when building for Android. https://github.com/BelledonneCommunications/mediastreamer2/blob/d9e4f485cf7d870431ca31d35abc42b3c9fdc025/src/CMakeLists.txt#L615-L621

Until this commit the lines which are now 619 and 620 were correctly in the else branch of the Android condition.