libsrtp icon indicating copy to clipboard operation
libsrtp copied to clipboard

Build without versioned soname on Android.

Open mansourmoufid opened this issue 2 years ago • 0 comments

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.

mansourmoufid avatar Jun 30 '22 17:06 mansourmoufid