2021-12-19 01:06:50 +00:00
|
|
|
diff --git a/meson.build b/meson.build
|
2022-02-10 20:34:41 +00:00
|
|
|
index 95ecb728..cb30f3af 100644
|
2021-12-19 01:06:50 +00:00
|
|
|
--- a/meson.build
|
|
|
|
+++ b/meson.build
|
2022-02-10 20:34:41 +00:00
|
|
|
@@ -201,6 +201,7 @@ if with_32bit_libraries or with_bitbridge
|
2021-12-19 01:06:50 +00:00
|
|
|
'boost_filesystem',
|
|
|
|
static : with_static_boost,
|
|
|
|
dirs : [
|
|
|
|
+ '@boost32@/lib',
|
|
|
|
# Used by Arch based distros
|
|
|
|
'/usr/local/lib32',
|
|
|
|
'/usr/lib32',
|
2022-02-10 20:34:41 +00:00
|
|
|
@@ -224,7 +225,7 @@ if is_64bit_system
|
2021-12-19 01:06:50 +00:00
|
|
|
xcb_64bit_dep = dependency('xcb')
|
|
|
|
endif
|
|
|
|
if with_32bit_libraries or with_bitbridge
|
|
|
|
- xcb_32bit_dep = winegcc.find_library('xcb')
|
|
|
|
+ xcb_32bit_dep = winegcc.find_library('xcb', dirs: ['@libxcb32@/lib'])
|
|
|
|
endif
|
|
|
|
|
|
|
|
# These are all headers-only libraries, and thus won't require separate 32-bit
|
|
|
|
diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
|
2022-02-10 20:34:41 +00:00
|
|
|
index 1a457f03..20ca1e63 100644
|
2021-12-19 01:06:50 +00:00
|
|
|
--- a/src/plugin/utils.cpp
|
|
|
|
+++ b/src/plugin/utils.cpp
|
|
|
|
@@ -107,7 +107,7 @@ std::string PluginInfo::wine_version() const {
|
|
|
|
access(wineloader_path.c_str(), X_OK) == 0) {
|
|
|
|
wine_path = wineloader_path;
|
|
|
|
} else {
|
|
|
|
- wine_path = bp::search_path("wine").string();
|
|
|
|
+ wine_path = "@wine@/bin/wine";
|
|
|
|
}
|
|
|
|
|
|
|
|
bp::ipstream output;
|
|
|
|
@@ -436,7 +436,7 @@ Configuration load_config_for(const fs::path& yabridge_path) {
|
|
|
|
bool send_notification(const std::string& title,
|
|
|
|
const std::string body,
|
|
|
|
bool append_origin) {
|
|
|
|
- const fs::path notify_send_path = bp::search_path("notify-send");
|
|
|
|
+ const fs::path notify_send_path = "@libnotify@/bin/notify-send";
|
|
|
|
if (notify_send_path.empty()) {
|
|
|
|
return false;
|
|
|
|
}
|