From cf7c39e2c19dead688920208d7acb6cff3da1dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 7 Nov 2018 12:29:27 +0100 Subject: [PATCH] build: Add soversion to shared libraries It's easier to add it now, then adding it later would so be needed. --- clutter/clutter/meson.build | 1 + cogl/cogl-gles2/meson.build | 1 + cogl/cogl-pango/meson.build | 1 + cogl/cogl-path/meson.build | 1 + cogl/cogl/meson.build | 1 + src/meson.build | 1 + 6 files changed, 6 insertions(+) diff --git a/clutter/clutter/meson.build b/clutter/clutter/meson.build index a37fce27e..e383055e7 100644 --- a/clutter/clutter/meson.build +++ b/clutter/clutter/meson.build @@ -521,6 +521,7 @@ libmutter_clutter = shared_library(libmutter_clutter_name, cally_headers, cally_private_headers, ], + soversion: '0.0.0', c_args: clutter_c_args, include_directories: clutter_includes, dependencies: [clutter_deps], diff --git a/cogl/cogl-gles2/meson.build b/cogl/cogl-gles2/meson.build index de1733119..1b144da1d 100644 --- a/cogl/cogl-gles2/meson.build +++ b/cogl/cogl-gles2/meson.build @@ -10,6 +10,7 @@ cogl_gles2_sources = [ libmutter_cogl_gles2 = shared_library('mutter-cogl-gles2-' + libmutter_api_version, sources: [cogl_gles2_sources, cogl_gles2_public_headers], + soversion: '0.0.0', c_args: cogl_c_args, include_directories: [cogl_includepath, cogl_path_includepath], link_depends: 'libmutter-cogl-gles2.map', diff --git a/cogl/cogl-pango/meson.build b/cogl/cogl-pango/meson.build index cf54d5e0e..fcc067a95 100644 --- a/cogl/cogl-pango/meson.build +++ b/cogl/cogl-pango/meson.build @@ -23,6 +23,7 @@ cogl_pango_deps = [ libmutter_cogl_pango = shared_library('mutter-cogl-pango-' + libmutter_api_version, sources: [cogl_pango_sources, cogl_pango_public_headers], + soversion: '0.0.0', c_args: cogl_c_args, include_directories: [cogl_includepath, cogl_path_includepath], link_depends: 'libmutter-cogl-pango.map', diff --git a/cogl/cogl-path/meson.build b/cogl/cogl-path/meson.build index 7f8961418..bc6656db9 100644 --- a/cogl/cogl-path/meson.build +++ b/cogl/cogl-path/meson.build @@ -51,6 +51,7 @@ cogl_path_sources += libmutter_cogl_path_enum_types libmutter_cogl_path = shared_library('mutter-cogl-path-' + libmutter_api_version, sources: [cogl_path_sources, cogl_path_public_headers], + soversion: '0.0.0', c_args: cogl_c_args, include_directories: [cogl_includepath, cogl_path_includepath], link_depends: 'libmutter-cogl-path.map', diff --git a/cogl/cogl/meson.build b/cogl/cogl/meson.build index ccd0aabe0..8b211d9bd 100644 --- a/cogl/cogl/meson.build +++ b/cogl/cogl/meson.build @@ -468,6 +468,7 @@ endif libmutter_cogl_name = 'mutter-cogl-' + libmutter_api_version libmutter_cogl = shared_library(libmutter_cogl_name, sources: [cogl_sources, cogl_headers_all], + soversion: '0.0.0', c_args: cogl_c_args, include_directories: cogl_includepath, link_depends: 'libmutter-cogl.map', diff --git a/src/meson.build b/src/meson.build index 4f34ed1ff..4ea30b06d 100644 --- a/src/meson.build +++ b/src/meson.build @@ -720,6 +720,7 @@ libmutter = shared_library(libmutter_name, mutter_sources, mutter_built_sources, ], + soversion: '0.0.0', include_directories: mutter_includes, c_args: mutter_c_args, dependencies: [