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 72c3aa1 commit b93f638
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ set -e
#ls /usr/include/openssl
#ls /usr/lib/x86_64-linux-gnu/libssl.so

echo "~~~> $1"
find /usr/lib -name 'openssl.pc' -exec ls -l {} \;
echo "----"

if [[ "$1" == "ubuntu" ]]; then
if [ ! -f /usr/lib/x86_64-linux-gnu/pkgconfig/openssl.pc ]; then
Expand Down Expand Up @@ -65,13 +66,11 @@ if [[ "$1" == "ubuntu" ]]; then

export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH
echo "----"
pkg-config --list-package-names
echo "CFLAGS 1: '$(pkg-config --print-errors --no-cache --debug --cflags openssl)'"
echo "LIBS 1: '$(pkg-config --print-errors --no-cache --debug --libs 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)'"
echo "CFLAGS 2: '$(pkg-config --print-errors --no-cache --debug --internal-cflags --cflags openssl)'"
echo "LIBS 2: '$(pkg-config --print-errors --no-cache --debug --libs openssl)'"
fi

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

0 comments on commit b93f638

Please sign in to comment.