Dont use lib subdir

This commit is contained in:
Jake Howard 2017-08-27 21:32:58 +01:00
parent 778fb72380
commit 0f56823093
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 8 additions and 1 deletions

View file

@ -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

View file

@ -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();
} }
} }