Skip to content

Commit aaff730

Browse files
Add PKG_CONFIG_PATH values for mac
1 parent 8b8ae5d commit aaff730

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/actions.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ jobs:
230230
run: |
231231
which pkg-config || brew install pkg-config
232232
brew install qt6 jq mongo-c-driver@1 gflags glog lz4 yarn
233+
export PKG_CONFIG_PATH=$(echo "$(find -L "$(brew --prefix)/opt" -type d \( -path "*/lib/pkgconfig" -o -path "*/share/pkgconfig" \) 2>/dev/null)" | sort -u | paste -sd ":" -):$PKG_CONFIG_PATH
233234
- name: configure for debug
234235
run: |
235236
./configure --prefix=/usr/local --enable-shared-mongoc --enable-shared-glog --enable-shared-lz4 --enable-debug
@@ -274,6 +275,7 @@ jobs:
274275
run: |
275276
which pkg-config || brew install pkg-config
276277
brew install qt6 jq mongo-c-driver@1 gflags glog lz4 yarn
278+
export PKG_CONFIG_PATH=$(echo "$(find -L "$(brew --prefix)/opt" -type d \( -path "*/lib/pkgconfig" -o -path "*/share/pkgconfig" \) 2>/dev/null)" | sort -u | paste -sd ":" -):$PKG_CONFIG_PATH
277279
- name: configure for debug
278280
run: |
279281
./configure --prefix=/usr/local --enable-shared-mongoc --enable-shared-glog --enable-shared-lz4 --enable-debug
@@ -318,6 +320,7 @@ jobs:
318320
run: |
319321
which pkg-config || brew install pkg-config
320322
brew install qt6 jq mongo-c-driver@1 gflags glog lz4 yarn
323+
export PKG_CONFIG_PATH=$(echo "$(find -L "$(brew --prefix)/opt" -type d \( -path "*/lib/pkgconfig" -o -path "*/share/pkgconfig" \) 2>/dev/null)" | sort -u | paste -sd ":" -):$PKG_CONFIG_PATH
321324
- name: configure for debug
322325
run: |
323326
./configure --prefix=/usr/local --enable-shared-mongoc --enable-shared-glog --enable-shared-lz4 --enable-debug

0 commit comments

Comments
 (0)