Meson: Remove lib prefix from graw and osmesa when building with Mingw.
[mesa.git] / src / gallium / targets / osmesa / meson.build
index 8b2ba248b60907a5b7a22b012f3ea1096ec77ddc..e43aba9029fcee4970e1e8be520f0e18fb23b890 100644 (file)
@@ -58,6 +58,7 @@ libosmesa = shared_library(
     dep_ws2_32, dep_selinux, dep_thread, dep_clock, dep_unwind,
     driver_swrast, driver_swr,
   ],
+  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,