Skip to content
Snippets Groups Projects
Verified Commit fb014e88 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Switch soname to major.minor, dropping the patch version

parent 5393e25d
No related branches found
No related tags found
No related merge requests found
Pipeline #3398 failed
......@@ -6,6 +6,7 @@ CHANGELOG
- Limit concurrent connections to 64 and per host to 8 by default. You can
change that using 2 new functions.
- Use major.minor as the soname.
[0.2.0] - 2022-03-06
--------------------
......
......@@ -94,11 +94,15 @@ if target_machine.system() == 'windows'
]
endif
version_parts = meson.project_version().split('.')
soversion = version_parts.get(0) + '.' + version_parts.get(1)
lib = library('coeurl', ['lib/client.cpp', 'lib/request.cpp', 'lib/errors.cpp'],
include_directories: include,
cpp_args : defines,
dependencies: deps,
version: meson.project_version(),
#version: meson.project_version(),
soversion: soversion,
install : true)
install_headers('include/coeurl/headers.hpp', 'include/coeurl/client.hpp', 'include/coeurl/request.hpp', 'include/coeurl/errors.hpp', subdir : 'coeurl')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment