diff --git a/src/egl/meson.build b/src/egl/meson.build index 6aeb42f48b9..948dcd90670 100644 --- a/src/egl/meson.build +++ b/src/egl/meson.build @@ -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 ) diff --git a/src/mapi/es1api/meson.build b/src/mapi/es1api/meson.build index d0d89b46447..9ee093dd34e 100644 --- a/src/mapi/es1api/meson.build +++ b/src/mapi/es1api/meson.build @@ -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, ) diff --git a/src/mapi/es2api/meson.build b/src/mapi/es2api/meson.build index 1156ee92e42..7bce741984e 100644 --- a/src/mapi/es2api/meson.build +++ b/src/mapi/es2api/meson.build @@ -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, ) diff --git a/src/mapi/shared-glapi/meson.build b/src/mapi/shared-glapi/meson.build index 0b5597e0913..ea27ce1acc9 100644 --- a/src/mapi/shared-glapi/meson.build +++ b/src/mapi/shared-glapi/meson.build @@ -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()