Adjust dylib compatibility versions to match what was set by mesa-18.3's autotools-based builds

Cc: 20.3 21.0 <mesa-stable@lists.freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4113
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Dylan Baker <dylan.c.baker@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8796>
This commit is contained in:
Jeremy Huddleston Sequoia 2021-01-30 13:10:12 -08:00 committed by Marge Bot
parent 279d170552
commit 38ae84b8da
4 changed files with 4 additions and 0 deletions

View file

@ -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,
)

View file

@ -157,6 +157,7 @@ libgl = shared_library(
dep_xcb_shm, extra_deps_libgl,
],
version : gl_lib_version,
darwin_versions : '4.0.0',
install : true,
)

View file

@ -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,
)

View file

@ -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,
)