Fix DLL name for Windows loader

Sat, 23 Nov 2024 23:43:28 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Sat, 23 Nov 2024 23:43:28 -0600
changeset 43089
0e1498cd22b2
parent 43088
cbd733874bd4
child 43090
a99e622e89ee

Fix DLL name for Windows loader

Meson adds the `lib` prefix for `shared_library` targets, even on Windows.

Testing Done:
Compiled and ran in devenv and no longer got a DLL-load-failed popup.

Reviewed at https://reviews.imfreedom.org/r/3679/

meson.build file | annotate | diff | comparison | revisions
--- a/meson.build	Sat Nov 23 22:23:01 2024 -0600
+++ b/meson.build	Sat Nov 23 23:43:28 2024 -0600
@@ -123,7 +123,7 @@
 	dnsapi = compiler.find_library('dnsapi')
 	conf.set('WIN32_LEAN_AND_MEAN', true)
 
-	conf.set('LIBPIDGIN_DLL_NAMEW', f'L"pidgin3-@purple_soversion@.dll"')
+	conf.set('LIBPIDGIN_DLL_NAMEW', f'L"libpidgin3-@purple_soversion@.dll"')
 else
 	IS_WIN32 = false
 	ws2_32 = []

mercurial