The Cflags
emitted by wasmer config --pkg-config
are wrong #1989
Closed
Description
Describe the bug
When running wasmer config
, the -I
in the cflags are incorrect. The include path (-I
) adds an additional wasmer
to the end.
This is on BS macOS ARM, but I suppose it doesn't matter.
helge@M1ni ~ $ wasmer config --pkg-config
prefix=/Users/helge/.wasmer
exec_prefix=/Users/helge/.wasmer/bin
includedir=/Users/helge/.wasmer/include
libdir=/Users/helge/.wasmer/lib
Name: wasmer
Description: The Wasmer library for running WebAssembly
Version: 1.0.0
Cflags: -I/Users/helge/.wasmer/include/wasmer
Libs: -L/Users/helge/.wasmer/lib -lwasmer
Steps to reproduce
- run
wasmer config --pkg-config
Expected behavior
The cflags should be:
Cflags: -I/Users/helge/.wasmer/include
Actual behavior
The cflags are:
Cflags: -I/Users/helge/.wasmer/include/wasmer
This directory does not exist.