libsrtp
libsrtp copied to clipboard
Build without versioned soname on Android.
I'm building for Android with CMake. This produces the shared library libsrtp2.so.2.4.2
and a symbolic link to it libsrtp2.so
.
I would like to just drop the library into the jniLibs
directory, but Android Studio recognizes libraries by file name (ignores file names that don't match *.so), so I need to build libsrtp without a versioned soname, i.e. no linker flag -Wl,-soname,...
.
This can be done by setting the CMake target property NO_SONAME.