| 1 | diff --git a/build.rs b/build.rs
|
| 2 | index c9183bd..60489f4 100644
|
| 3 | |
| 4 | |
| 5 | @@ -4,7 +4,7 @@ use std::path::PathBuf;
|
| 6 | fn main() {
|
| 7 | println!("cargo:rerun-if-changed=proto/galaxy.protocols.communication_service.proto");
|
| 8 | println!("cargo:rerun-if-env-changed=PROTOC");
|
| 9 | - let vendored_protoc = protoc_bin_vendored::protoc_bin_path().unwrap();
|
| 10 | + let vendored_protoc = PathBuf::from("/usr/bin/protoc");
|
| 11 | let protoc_path = match std::env::var("PROTOC") {
|
| 12 | Ok(protoc) => PathBuf::from(&protoc),
|
| 13 | Err(_) => vendored_protoc,
|