Skip to content

Commit

Permalink
fix: cflags emitted by wasmer config --pkg-config are now correct
Browse files Browse the repository at this point in the history
Closes #1989
  • Loading branch information
jubianchi committed Feb 8, 2021
1 parent 6711a36 commit 7b5599b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/src/commands/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl Config {
let bindir = prefix.join("bin").display().to_string();
let includedir = prefix.join("include").display().to_string();
let libdir = prefix.join("lib").display().to_string();
let cflags = format!("-I{}/wasmer", includedir);
let cflags = format!("-I{}", includedir);
let libs = format!("-L{} -lwasmer", libdir);

if self.pkg_config {
Expand Down

0 comments on commit 7b5599b

Please sign in to comment.