Install pkg-config on Mac.

This commit is contained in:
Roman Telezhynskyi 2023-08-28 21:17:33 +03:00
parent d0ddc4d108
commit 24d870e306
2 changed files with 4 additions and 3 deletions

View File

@ -181,14 +181,15 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- sudo xcode-select -p - sudo xcode-select -p
- brew update > /dev/null - brew update > /dev/null
- brew outdated - brew outdated
- brew install --force qt6 coreutils ccache qbs cmake git openssl@1.1 - brew install --force qt6 coreutils ccache qbs cmake git openssl@1.1 pkg-config
- brew upgrade qt6 coreutils ccache qbs cmake git openssl@1.1 - brew upgrade qt6 coreutils ccache qbs cmake git openssl@1.1 pkg-config
- echo $PATH - echo $PATH
- export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$PATH" - export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$PATH"
- echo $PATH - echo $PATH
- chmod -R 755 /opt/homebrew/opt/qt6/* - chmod -R 755 /opt/homebrew/opt/qt6/*
- chmod -R 755 /opt/homebrew/opt/openssl@1.1/* - chmod -R 755 /opt/homebrew/opt/openssl@1.1/*
- export PKG_CONFIG_PATH="$(brew --prefix qt6)/lib/pkgconfig:$(brew --prefix openssl@1.1)/lib/pkgconfig" - export PKG_CONFIG_PATH="$(brew --prefix qt6)/lib/pkgconfig:$(brew --prefix openssl@1.1)/lib/pkgconfig"
- echo $PKG_CONFIG_PATH
- python3 --version - python3 --version
- pip3 install --user --upgrade pip dropbox conan==1.60 - pip3 install --user --upgrade pip dropbox conan==1.60
- ccache --set-config=sloppiness=pch_defines,time_macros - ccache --set-config=sloppiness=pch_defines,time_macros

View File

@ -633,7 +633,7 @@ for:
python3 ./scripts/treestate.py scan /usr/local usrlocal.json python3 ./scripts/treestate.py scan /usr/local usrlocal.json
brew update brew update
brew install coreutils ccache git openssl@1.1 brew install coreutils ccache git openssl@1.1 pkg-config
# The build environment is now ready for use. We can complete # The build environment is now ready for use. We can complete
# the rest of the process of creating the Homebrew archive # the rest of the process of creating the Homebrew archive