Dont use lib subdir
This commit is contained in:
parent
778fb72380
commit
0f56823093
2 changed files with 8 additions and 1 deletions
|
@ -10,3 +10,10 @@ serde = "1.0.10"
|
||||||
serde_derive = "1.0.10"
|
serde_derive = "1.0.10"
|
||||||
serde_yaml = "0.7.1"
|
serde_yaml = "0.7.1"
|
||||||
wkhtmltopdf = "0.3.0"
|
wkhtmltopdf = "0.3.0"
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
rpath = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
rpath = true
|
||||||
|
lto = true
|
||||||
|
|
|
@ -7,7 +7,7 @@ use std::error::Error;
|
||||||
fn add_path_hints(pandoc: &mut Pandoc, path: &mut PathBuf) {
|
fn add_path_hints(pandoc: &mut Pandoc, path: &mut PathBuf) {
|
||||||
let mut out = true;
|
let mut out = true;
|
||||||
while out {
|
while out {
|
||||||
pandoc.add_pandoc_path_hint(&path.join("lib"));
|
pandoc.add_pandoc_path_hint(path);
|
||||||
out = path.pop();
|
out = path.pop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue