diff options
author | Prodea Alexandru-Liviu <[email protected]> | 2019-11-07 22:04:50 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-11-07 22:04:50 +0000 |
commit | 1a05811936dd8d0c3a367c6f00629624ef39d537 (patch) | |
tree | 90bac5e6aa308b878105438362dd2d83a3a87b12 /src/mesa | |
parent | 0b3111ed84b0ad65caf99989acb793e08338906a (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Cc: "19.3" <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/osmesa/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
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, ) |