Temporary change to make cross builds work.
[pspp] / rust / build.rs
index a12d862e4860bc3380cf7db01b9ec782e204cf53..48e011b4c58b9f95424cb4f59ca6aa1192d0920f 100644 (file)
@@ -157,7 +157,7 @@ lazy_static! {
 fn main() -> AnyResult<()> {
     println!("cargo:rerun-if-changed=build.rs");
 
-    let input_file = Path::new(env!("CARGO_MANIFEST_DIR")).join("../src/data/convrtrs.txt");
+    let input_file = Path::new(env!("CARGO_MANIFEST_DIR")).join("convrtrs.txt");
     println!("cargo:rerun-if-changed={}", input_file.to_string_lossy());
     let input = read_to_string(&input_file)
         .map_err(|e| anyhow!("{}: read failed ({e})", input_file.to_string_lossy()))?;