[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 64-bit time_t: package lists, counts du jour, dd-list for NMUs



On 2024-01-22, Simon McVittie <smcv@debian.org> wrote:
> Unfortunately, perhaps because common build systems like Autotools,
> Meson and CMake make it awkward to use non-numeric SONAME suffixes,

With CMake it is actually quite simple. Even to a point where it is easy
to get wrong:

add_library(Foo SHARED foo.cpp)
set_target_properties(Foo PROPERTIES VERSION 1vorlon.0.0 SOVERSION
1smcv)

$ objdump -x libFoo.so | grep SONAME
  SONAME               libFoo.so.1smcv

ls:

libFoo.so -> libFoo.so.1smcv
libFoo.so.1smcv -> libFoo.so.1vorlon.0.0
libFoo.so.1vorlon.0.0

/Sune


Reply to: