pkg-config print more info when it fails version check
@@ -96,7 +96,7 @@ outputs:
- pkg-config
commands:
- pkg-config --print-provides libdwarf
- - pkg-config --exact-version=$PKG_VERSION libdwarf
+ - pkg-config --print-errors --exact-version=$PKG_VERSION libdwarf
- test -f $PREFIX/include/libdwarf.h
- test -f $PREFIX/include/libdwarf-?/dwarf.h
- test -f $PREFIX/lib/libdwarf${SHLIB_EXT}
@@ -182,7 +182,7 @@ outputs:
commands:
- dwarfdump --version
- pkg-config --print-provides libdwarf
- - pkg-config --exact-version=$PKG_VERSION libdwarf
+ - pkg-config --print-errors --exact-version=$PKG_VERSION libdwarf
- mkdir build && cd build
# add -ldwarf to LDLIBS so that linker looks for it in -L$PREFIX/lib provided by our compiler
# activation scripts
