Skip to content

Commit 0c982a8

Browse files
committed
brew --cellar
1 parent 817356e commit 0c982a8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/actions/configure-macos/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ runs:
1010
run: |
1111
set -x
1212
BREW_OPT="$(brew --prefix)"/opt
13+
brew --cellar
14+
ls -l $BREW_OPT/bin
1315
export PATH="$BREW_OPT/bison/bin:$PATH"
14-
export PATH="/usr/local/Cellar/pkgconf/2.3.0/bin:$PATH"
15-
ls -l /usr/local/Cellar/pkgconf/2.3.0/bin
16-
ln /usr/local/Cellar/pkgconf/2.3.0/bin/pkgconf /usr/local/Cellar/pkgconf/2.3.0/bin/pkg-config
16+
export PATH="$(brew --cellar)/pkgconf/2.3.0/bin:$PATH"
17+
ls -l $(brew --cellar)/pkgconf/2.3.0/bin
18+
ln $(brew --cellar)/pkgconf/2.3.0/bin/pkgconf $(brew --cellar)/pkgconf/2.3.0/bin/pkg-config
1719
export PKG_CONFIG_PATH="$BREW_OPT/openssl@3/lib/pkgconfig:$PKG_CONFIG_PATH"
1820
export PKG_CONFIG_PATH="$BREW_OPT/curl/lib/pkgconfig:$PKG_CONFIG_PATH"
1921
export PKG_CONFIG_PATH="$BREW_OPT/libffi/lib/pkgconfig:$PKG_CONFIG_PATH"
@@ -25,6 +27,7 @@ runs:
2527
pkg-config --version
2628
pkg-config --modversion libcurl
2729
pkg-config --libs libcurl
30+
exit 1
2831
./buildconf --force
2932
./configure \
3033
--enable-option-checking=fatal \

0 commit comments

Comments
 (0)