Commit 63f5aee6 authored by Dylan Baker's avatar Dylan Baker
Browse files

meson: maintain names of shared API libraries



Mesa uses the lib prefix, and doesn't use a version for it's dynamic
libraries, which meson defaults to.

v2: - this patch
Acked-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
Acked-by: Kristian H. Kristensen's avatarKristian H. Kristensen <hoegsberg@google.com>
parent e1dbf107
...@@ -47,7 +47,9 @@ libglesv1_cm = shared_library( ...@@ -47,7 +47,9 @@ libglesv1_cm = shared_library(
include_directories : [inc_src, inc_include, inc_mapi], include_directories : [inc_src, inc_include, inc_mapi],
link_with : libglapi, link_with : libglapi,
dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl], dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl],
soversion : host_machine.system() == 'windows' ? '' : '1',
version : '1.1.0', version : '1.1.0',
name_prefix : 'lib',
install : true, install : true,
) )
......
...@@ -47,7 +47,9 @@ libgles2 = shared_library( ...@@ -47,7 +47,9 @@ libgles2 = shared_library(
include_directories : [inc_src, inc_include, inc_mapi], include_directories : [inc_src, inc_include, inc_mapi],
link_with : libglapi, link_with : libglapi,
dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl], dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl],
soversion : host_machine.system() == 'windows' ? '' : '2',
version : '2.0.0', version : '2.0.0',
name_prefix : 'lib',
install : true, install : true,
) )
......
...@@ -55,7 +55,9 @@ libglapi = shared_library( ...@@ -55,7 +55,9 @@ libglapi = shared_library(
link_args : [ld_args_gc_sections], link_args : [ld_args_gc_sections],
include_directories : [inc_src, inc_include, inc_mapi], include_directories : [inc_src, inc_include, inc_mapi],
dependencies : [dep_thread, dep_selinux], dependencies : [dep_thread, dep_selinux],
soversion : host_machine.system() == 'windows' ? '' : '0',
version : '0.0.0', version : '0.0.0',
name_prefix : 'lib',
install : true, install : true,
) )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment