Skip to content

Commit

Permalink
Rely on brew output rather than on HOMEBREW_CELLAR variable
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Jan 23, 2024
1 parent 3d7f24b commit ab05f60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/postgresql-16-src-make-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
- name: Install dependencies
run: |
brew install make autoconf openssl@3 curl json-c gettext icu4c
echo "HOMEBREW_CELLAR=$(brew --cellar)" >> $GITHUB_ENV
- name: Clone postgres repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ AC_DEFUN([REQUIRE_LIB], [ {
AS_IF([test "x$with_$1" == xdefault],
[
case $host_os in
darwin*) libpathx=($HOMEBREW_CELLAR/$3/*)
darwin*) libpathx=($(brew --cellar)/$3/*)
tde_CPPFLAGS="$tde_CPPFLAGS -I$libpathx/include/$5"
tde_LDFLAGS="$tde_LDFLAGS -L$libpathx/lib -l$2" ;;
*) tde_CPPFLAGS="$tde_CPPFLAGS -I/usr/include/$5"
Expand Down

0 comments on commit ab05f60

Please sign in to comment.