From 1a05811936dd8d0c3a367c6f00629624ef39d537 Mon Sep 17 00:00:00 2001 From: Prodea Alexandru-Liviu Date: Thu, 7 Nov 2019 22:04:50 +0000 Subject: Meson: Remove lib prefix from graw and osmesa when building with Mingw. Also remove version sufix from osmesa swrast on Windows. v2: Make sure we don't remove lib prefix on *nix platforms. Signed-off-by: Prodea Alexandru-Liviu Reviewed-by: Eric Engestrom Cc: "19.3" --- src/mesa/drivers/osmesa/meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/drivers/osmesa/meson.build b/src/mesa/drivers/osmesa/meson.build index c479b740131..f9ba2c5ade9 100644 --- a/src/mesa/drivers/osmesa/meson.build +++ b/src/mesa/drivers/osmesa/meson.build @@ -36,6 +36,8 @@ libosmesa = shared_library( link_whole : libglapi_static, link_with : [libmesa_classic, osmesa_link_with], dependencies : [dep_thread, dep_selinux], + name_prefix : host_machine.system() == 'windows' ? '' : 'lib', # otherwise mingw will create libosmesa.dll + soversion : host_machine.system() == 'windows' ? '' : '8', version : '8.0.0', install : true, ) -- cgit v1.2.3