qulogic/pidgin

Fix DLL naming in metadata on Windows

8 months ago, Elliott Sales de Andrade
860c2eed1a73
Fix DLL naming in metadata on Windows

Meson does not prefix the shared library names with `lib` on Windows, so these
internal metadata fields should not include it. And the Pidgin executable
wrapper needs to load this DLL via the un-prefixed name as well (via
`LIBPIDGIN_DLL_NAMEW`).

Testing Done:
Compiled on Windows.

Reviewed at https://reviews.imfreedom.org/r/2772/
[constants]
macosx_sdk = '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk'
macosx_minver = '10.13'
common_args = ['--sysroot=' + macosx_sdk, '-mmacosx-version-min=' + macosx_minver, '-F' + macosx_sdk / 'System/Library/Frameworks']
homebrew_prefix = '/usr/local'
icu4c_pc = homebrew_prefix / 'opt/icu4c/lib/pkgconfig'
libsoup3_pc = homebrew_prefix / 'opt/libsoup@3/lib/pkgconfig'
libxml2_pc = homebrew_prefix / 'opt/libxml2/lib/pkgconfig'
python3_pc = homebrew_prefix / 'opt/python@3/lib/pkgconfig'
[built-in options]
c_args = common_args
c_link_args = common_args
cpp_args = common_args
cpp_link_args = common_args
objc_args = common_args
objc_link_args = common_args
objcpp_args = common_args
objcpp_link_args = common_args
pkg_config_path = [icu4c_pc, libsoup3_pc, libxml2_pc, python3_pc]
[project options]
introspection = false
[gplugin:project options]
doc = false
introspection = false
lua = false
python3 = false
vapi = false
[talkatu:project options]
doc = false
introspection = false
vapi = false
[binaries]
xgettext = homebrew_prefix / 'opt/gettext/bin/xgettext'