Skip to content

Commit

Permalink
macOS: use portable paths for brewed deps
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
  • Loading branch information
yurikoles committed Nov 29, 2023
1 parent 136118a commit 3bbd197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/macos-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: configure
run: |
#https://stackoverflow.com/a/62591864
./configure CPPFLAGS="-I/usr/local/opt/gettext/include -I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/gettext/lib/ -L/usr/local/opt/openssl/lib"
./configure CPPFLAGS="-I${HOMEBREW_PREFIX}/opt/gettext/include -I${HOMEBREW_PREFIX}/opt/openssl/include" LDFLAGS="-L${HOMEBREW_PREFIX}/opt/gettext/lib/ -L${HOMEBREW_PREFIX}/opt/openssl/lib"
- name: build
run: |
make -j $(($(sysctl -n hw.ncpu)+1))
Expand Down

0 comments on commit 3bbd197

Please sign in to comment.