mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-02 22:54:05 +08:00
meson: use the same workaround for setting 'lib' on windows
Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20752>
This commit is contained in:
parent
7aca37fc28
commit
bab3e2fbd9
@ -208,7 +208,7 @@ libegl = shared_library(
|
||||
install : true,
|
||||
version : egl_lib_version,
|
||||
soversion : egl_lib_soversion,
|
||||
name_prefix : 'lib', # even on windows
|
||||
name_prefix : host_machine.system() == 'windows' ? 'lib' : [], # always use lib, but avoid warnings on !windows
|
||||
vs_module_defs : egl_def
|
||||
)
|
||||
|
||||
|
@ -58,7 +58,7 @@ libglesv1_cm = shared_library(
|
||||
soversion : host_machine.system() == 'windows' ? '' : '1',
|
||||
version : '1.1.0',
|
||||
darwin_versions : '3.0.0',
|
||||
name_prefix : 'lib',
|
||||
name_prefix : host_machine.system() == 'windows' ? 'lib' : [], # always use lib, but avoid warnings on !windows
|
||||
install : true,
|
||||
)
|
||||
|
||||
|
@ -58,7 +58,7 @@ libgles2 = shared_library(
|
||||
soversion : host_machine.system() == 'windows' ? '' : '2',
|
||||
version : '2.0.0',
|
||||
darwin_versions : '3.0.0',
|
||||
name_prefix : 'lib',
|
||||
name_prefix : host_machine.system() == 'windows' ? 'lib' : [], # always use lib, but avoid warnings on !windows
|
||||
install : true,
|
||||
)
|
||||
|
||||
|
@ -57,7 +57,7 @@ libglapi = shared_library(
|
||||
dependencies : [dep_thread, dep_selinux, idep_mesautil],
|
||||
soversion : host_machine.system() == 'windows' ? '' : '0',
|
||||
version : '0.0.0',
|
||||
name_prefix : 'lib',
|
||||
name_prefix : host_machine.system() == 'windows' ? 'lib' : [], # always use lib, but avoid warnings on !windows
|
||||
install : true,
|
||||
)
|
||||
libglapi_build_dir = meson.current_build_dir()
|
||||
|
Loading…
Reference in New Issue
Block a user