summaryrefslogtreecommitdiff
path: root/cogl
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2019-01-17 23:21:37 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2019-01-23 13:03:40 +0000
commit08130912f07cb47201325796cd4d2321e1ecf533 (patch)
tree338ecc3a240be8e9486168d3cc2f581f5b8f4537 /cogl
parent371b97af271b53ee3234b0831d3e994bea31c7a7 (diff)
downloadmutter-08130912f07cb47201325796cd4d2321e1ecf533.tar.gz
meson: Set proper soversion and version to libraries
Soname of the libraries should be the major version number, while the version triplet is currently used: objdump -p libmutter-4.so.0.0.0 | grep SONAME SONAME libmutter-4.so.0.0.0 While is expected to be only libmutter-4.so.0 Fix all shared libraries by setting valid version and soversion. https://gitlab.gnome.org/GNOME/mutter/merge_requests/3955
Diffstat (limited to 'cogl')
-rw-r--r--cogl/cogl-gles2/meson.build3
-rw-r--r--cogl/cogl-pango/meson.build3
-rw-r--r--cogl/cogl-path/meson.build3
-rw-r--r--cogl/cogl/meson.build3
4 files changed, 8 insertions, 4 deletions
diff --git a/cogl/cogl-gles2/meson.build b/cogl/cogl-gles2/meson.build
index b83dac74b..40aa242ce 100644
--- a/cogl/cogl-gles2/meson.build
+++ b/cogl/cogl-gles2/meson.build
@@ -15,7 +15,8 @@ libmutter_cogl_gles2_link_args = [
]
libmutter_cogl_gles2 = shared_library('mutter-cogl-gles2-' + libmutter_api_version,
sources: [cogl_gles2_sources, cogl_gles2_public_headers],
- soversion: '0.0.0',
+ version: '0.0.0',
+ soversion: 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 75bc37c8e..0b2e74858 100644
--- a/cogl/cogl-pango/meson.build
+++ b/cogl/cogl-pango/meson.build
@@ -28,7 +28,8 @@ libmutter_cogl_pango_link_args = [
]
libmutter_cogl_pango = shared_library('mutter-cogl-pango-' + libmutter_api_version,
sources: [cogl_pango_sources, cogl_pango_public_headers],
- soversion: '0.0.0',
+ version: '0.0.0',
+ soversion: 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 b394199f8..d2bbef890 100644
--- a/cogl/cogl-path/meson.build
+++ b/cogl/cogl-path/meson.build
@@ -59,7 +59,8 @@ libmutter_cogl_path_link_args = [
]
libmutter_cogl_path = shared_library('mutter-cogl-path-' + libmutter_api_version,
sources: [cogl_path_sources, cogl_path_public_headers],
- soversion: '0.0.0',
+ version: '0.0.0',
+ soversion: 0,
c_args: cogl_path_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 b06031c96..0fa4194e3 100644
--- a/cogl/cogl/meson.build
+++ b/cogl/cogl/meson.build
@@ -473,7 +473,8 @@ libmutter_cogl_link_args = [
]
libmutter_cogl = shared_library(libmutter_cogl_name,
sources: [cogl_sources, cogl_headers_all],
- soversion: '0.0.0',
+ version: '0.0.0',
+ soversion: 0,
c_args: cogl_c_args,
include_directories: cogl_includepath,
link_depends: libmutter_cogl_map,