depot/third_party/nixpkgs/pkgs/tools/audio/yabridge/hardcode-wine.patch
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

13 lines
446 B
Diff

diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
index 7fb7d1b3..eb227101 100644
--- a/src/plugin/utils.cpp
+++ b/src/plugin/utils.cpp
@@ -105,5 +105,5 @@ 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;