Skip to content

Commit

Permalink
lib: set SOVERSION back to 0
Browse files Browse the repository at this point in the history
When the version was incremented to 2.0.0, this resulted
in the SOVERSION being set to 2, indicating an ABI change,
which was actually not the case.

People have been complaining that software linked against
librtlsdr.so.0 is no longer working, so change the SOVERSION
back to 0.
  • Loading branch information
steve-m committed Apr 7, 2024
1 parent ab2434e commit 7ebcb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ target_include_directories(rtlsdr PUBLIC
)
set_target_properties(rtlsdr PROPERTIES DEFINE_SYMBOL "rtlsdr_EXPORTS")
set_target_properties(rtlsdr PROPERTIES OUTPUT_NAME rtlsdr)
set_target_properties(rtlsdr PROPERTIES SOVERSION ${MAJOR_VERSION})
set_target_properties(rtlsdr PROPERTIES SOVERSION 0)
set_target_properties(rtlsdr PROPERTIES VERSION ${LIBVER})
generate_export_header(rtlsdr)

Expand Down

0 comments on commit 7ebcb04

Please sign in to comment.