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:
Dylan Baker
2023-01-17 10:11:13 -08:00
committed by Marge Bot
parent 7aca37fc28
commit bab3e2fbd9
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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()