Skip to content

Commit

Permalink
test(debug): package config debug
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed Nov 20, 2024
1 parent cd04ac4 commit 91cba6f
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,16 @@ if [[ "$1" == "ubuntu" ]]; then
fi

export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH
echo "CFLAGS: '$(pkg-config --debug --static --cflags openssl)'"
echo "LIBS: '$(pkg-config --debug --static --libs openssl)'"
echo "----"
pkg-config list-package-names
echo "----"
pkg-config --exists openssl
echo "----"
echo "CFLAGS 1: '$(pkg-config --print-errors --no-cache --debug --path --cflags openssl)'"
echo "LIBS 1: '$(pkg-config --print-errors --no-cache --debug --path --libs openssl)'"
echo "----"
echo "CFLAGS 2: '$(pkg-config --print-errors --no-cache --debug --path --internal-cflags --cflags openssl)'"
echo "LIBS 2: '$(pkg-config --print-errors --no-cache --debug --path --libs openssl)'"
fi

echo "::group::Run unit tests ('$1' $CC / $CXX)"
Expand Down

0 comments on commit 91cba6f

Please sign in to comment.