build: Add soversion to shared libraries

It's easier to add it now, then adding it later would so be needed.
This commit is contained in:
Jonas Ådahl 2018-11-07 12:29:27 +01:00
parent 7c774ab53e
commit cf7c39e2c1
6 changed files with 6 additions and 0 deletions

View File

@ -521,6 +521,7 @@ libmutter_clutter = shared_library(libmutter_clutter_name,
cally_headers, cally_headers,
cally_private_headers, cally_private_headers,
], ],
soversion: '0.0.0',
c_args: clutter_c_args, c_args: clutter_c_args,
include_directories: clutter_includes, include_directories: clutter_includes,
dependencies: [clutter_deps], dependencies: [clutter_deps],

View File

@ -10,6 +10,7 @@ cogl_gles2_sources = [
libmutter_cogl_gles2 = shared_library('mutter-cogl-gles2-' + libmutter_api_version, libmutter_cogl_gles2 = shared_library('mutter-cogl-gles2-' + libmutter_api_version,
sources: [cogl_gles2_sources, cogl_gles2_public_headers], sources: [cogl_gles2_sources, cogl_gles2_public_headers],
soversion: '0.0.0',
c_args: cogl_c_args, c_args: cogl_c_args,
include_directories: [cogl_includepath, cogl_path_includepath], include_directories: [cogl_includepath, cogl_path_includepath],
link_depends: 'libmutter-cogl-gles2.map', link_depends: 'libmutter-cogl-gles2.map',

View File

@ -23,6 +23,7 @@ cogl_pango_deps = [
libmutter_cogl_pango = shared_library('mutter-cogl-pango-' + libmutter_api_version, libmutter_cogl_pango = shared_library('mutter-cogl-pango-' + libmutter_api_version,
sources: [cogl_pango_sources, cogl_pango_public_headers], sources: [cogl_pango_sources, cogl_pango_public_headers],
soversion: '0.0.0',
c_args: cogl_c_args, c_args: cogl_c_args,
include_directories: [cogl_includepath, cogl_path_includepath], include_directories: [cogl_includepath, cogl_path_includepath],
link_depends: 'libmutter-cogl-pango.map', link_depends: 'libmutter-cogl-pango.map',

View File

@ -51,6 +51,7 @@ cogl_path_sources += libmutter_cogl_path_enum_types
libmutter_cogl_path = shared_library('mutter-cogl-path-' + libmutter_api_version, libmutter_cogl_path = shared_library('mutter-cogl-path-' + libmutter_api_version,
sources: [cogl_path_sources, cogl_path_public_headers], sources: [cogl_path_sources, cogl_path_public_headers],
soversion: '0.0.0',
c_args: cogl_c_args, c_args: cogl_c_args,
include_directories: [cogl_includepath, cogl_path_includepath], include_directories: [cogl_includepath, cogl_path_includepath],
link_depends: 'libmutter-cogl-path.map', link_depends: 'libmutter-cogl-path.map',

View File

@ -468,6 +468,7 @@ endif
libmutter_cogl_name = 'mutter-cogl-' + libmutter_api_version libmutter_cogl_name = 'mutter-cogl-' + libmutter_api_version
libmutter_cogl = shared_library(libmutter_cogl_name, libmutter_cogl = shared_library(libmutter_cogl_name,
sources: [cogl_sources, cogl_headers_all], sources: [cogl_sources, cogl_headers_all],
soversion: '0.0.0',
c_args: cogl_c_args, c_args: cogl_c_args,
include_directories: cogl_includepath, include_directories: cogl_includepath,
link_depends: 'libmutter-cogl.map', link_depends: 'libmutter-cogl.map',

View File

@ -720,6 +720,7 @@ libmutter = shared_library(libmutter_name,
mutter_sources, mutter_sources,
mutter_built_sources, mutter_built_sources,
], ],
soversion: '0.0.0',
include_directories: mutter_includes, include_directories: mutter_includes,
c_args: mutter_c_args, c_args: mutter_c_args,
dependencies: [ dependencies: [