From 38ae84b8daa1c2bc2f74093cf46ced5e252b04e5 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Sat, 30 Jan 2021 13:10:12 -0800 Subject: [PATCH] Adjust dylib compatibility versions to match what was set by mesa-18.3's autotools-based builds Cc: 20.3 21.0 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4113 Signed-off-by: Jeremy Huddleston Sequoia Reviewed-by: Dylan Baker Part-of: --- src/gallium/targets/osmesa/meson.build | 1 + src/glx/meson.build | 1 + src/mapi/es1api/meson.build | 1 + src/mapi/es2api/meson.build | 1 + 4 files changed, 4 insertions(+) diff --git a/src/gallium/targets/osmesa/meson.build b/src/gallium/targets/osmesa/meson.build index b17131f..3a421b58 100644 --- a/src/gallium/targets/osmesa/meson.build +++ b/src/gallium/targets/osmesa/meson.build @@ -60,6 +60,7 @@ libosmesa = shared_library( name_prefix : host_machine.system() == 'windows' ? '' : 'lib', # otherwise mingw will create libosmesa.dll soversion : host_machine.system() == 'windows' ? '' : '8', version : '8.0.0', + darwin_versions : '9.0.0', install : true, ) diff --git a/src/glx/meson.build b/src/glx/meson.build index 8ee0d00..58f9e1a 100644 --- a/src/glx/meson.build +++ b/src/glx/meson.build @@ -157,6 +157,7 @@ libgl = shared_library( dep_xcb_shm, extra_deps_libgl, ], version : gl_lib_version, + darwin_versions : '4.0.0', install : true, ) diff --git a/src/mapi/es1api/meson.build b/src/mapi/es1api/meson.build index f8b4d04..8b749b1 100644 --- a/src/mapi/es1api/meson.build +++ b/src/mapi/es1api/meson.build @@ -49,6 +49,7 @@ libglesv1_cm = shared_library( dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl], soversion : host_machine.system() == 'windows' ? '' : '1', version : '1.1.0', + darwin_versions : '3.0.0', name_prefix : 'lib', install : true, ) diff --git a/src/mapi/es2api/meson.build b/src/mapi/es2api/meson.build index 63a5a66..356c576 100644 --- a/src/mapi/es2api/meson.build +++ b/src/mapi/es2api/meson.build @@ -49,6 +49,7 @@ libgles2 = shared_library( dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl], soversion : host_machine.system() == 'windows' ? '' : '2', version : '2.0.0', + darwin_versions : '3.0.0', name_prefix : 'lib', install : true, ) -- 2.7.4