1diff --git a/meson.build b/meson.build
2index d8d9135b..717280d9 100644
3--- a/meson.build
4+++ b/meson.build
5@@ -221,7 +221,7 @@ if is_64bit_system
6 xcb_64bit_dep = dependency('xcb')
7 endif
8 if with_32bit_libraries or with_bitbridge
9- xcb_32bit_dep = winegcc.find_library('xcb')
10+ xcb_32bit_dep = winegcc.find_library('xcb', dirs: ['@libxcb32@/lib'])
11 endif
12
13 # These are all headers-only libraries, and thus won't require separate 32-bit
14diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
15index 4a52b6c1..abbb1ec8 100644
16--- a/src/plugin/utils.cpp
17+++ b/src/plugin/utils.cpp
18@@ -101,7 +101,7 @@ std::string PluginInfo::wine_version() const {
19 // The '*.exe' scripts generated by winegcc allow you to override the binary
20 // used to run Wine, so will will handle this in the same way for our Wine
21 // version detection. We'll be using `execvpe`
22- std::string wine_path = "wine";
23+ std::string wine_path = "@wine@/bin/wine";
24 // NOLINTNEXTLINE(concurrency-mt-unsafe)
25 if (const char* wineloader_path = getenv("WINELOADER");
26 wineloader_path && access(wineloader_path, X_OK) == 0) {