nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 12 lines 432 B view raw
1diff --git a/build.rs b/build.rs 2index 3f1b971..72f722f 100644 3--- a/build.rs 4+++ b/build.rs 5@@ -6,6 +6,7 @@ use std::{ 6 }; 7 fn main() { 8 let mut cmake_conf = cmake::Config::new("open_jtalk"); 9+ cmake_conf.define("FETCHCONTENT_SOURCE_DIR_OPENJTALK", "@openjtalk_src@"); 10 let target = env::var("TARGET").unwrap(); 11 let mut include_dirs: Vec<PathBuf> = Vec::new(); 12 let cmake_conf = if target.starts_with("i686") {