From 8381b4a83604c51b2379dab29ba843cf23636254 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 2 Dec 2020 18:24:52 +0100 Subject: [PATCH] Link to shell32.dll For some reason this is required on the Ubuntu 18.04 build, but not on my computer nor on the Ubuntu 20.04 build all using the same version of Wine and GCC. --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 2424a7b8..8328465f 100644 --- a/meson.build +++ b/meson.build @@ -129,6 +129,8 @@ xcb_dep = dependency('xcb') # TODO: Statically link this on the ubuntu-18.04 build native_filesystem_dep = declare_dependency(link_args : '-lstdc++fs') wine_ole32_dep = declare_dependency(link_args : '-lole32') +# The SDK includes a comment pragma that would link to this on MSVC +wine_shell32_dep = declare_dependency(link_args : '-lshell32') wine_uuid_dep = declare_dependency(link_args : '-luuid') include_dir = include_directories('src/include') @@ -323,6 +325,7 @@ if with_vst3 native_filesystem_dep, vst3_sdk_hosting_wine_64bit_dep, wine_ole32_dep, + wine_shell32_dep, wine_uuid_dep, ] endif @@ -369,6 +372,7 @@ if with_bitbridge native_filesystem_dep, vst3_sdk_hosting_wine_32bit_dep, wine_ole32_dep, + wine_shell32_dep, wine_uuid_dep, ] endif