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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user