Skip to content

Commit 7b5599b

Browse files
committed
fix: cflags emitted by wasmer config --pkg-config are now correct
Closes #1989
1 parent 6711a36 commit 7b5599b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli/src/commands/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl Config {
5656
let bindir = prefix.join("bin").display().to_string();
5757
let includedir = prefix.join("include").display().to_string();
5858
let libdir = prefix.join("lib").display().to_string();
59-
let cflags = format!("-I{}/wasmer", includedir);
59+
let cflags = format!("-I{}", includedir);
6060
let libs = format!("-L{} -lwasmer", libdir);
6161

6262
if self.pkg_config {

0 commit comments

Comments
 (0)