Skip to content

Commit

Permalink
Use brew --prefix to locate LMDB, OpenSSL, and pcre
Browse files Browse the repository at this point in the history
This is a temporary fix (see CFE-4385)

Ticket: CFE-4385
Changelog: None
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
  • Loading branch information
larsewi committed Apr 30, 2024
1 parent bb69dd5 commit 40c8b5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/macos_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ jobs:
- name: Check tools versions
run: libtool -V && automake --version && autoconf --version
- name: Run autotools / configure
run: PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH" ./autogen.sh --enable-debug
run: >
LDFLAGS="-L`brew --prefix lmdb`/lib -L`brew --prefix openssl`/lib -L`brew --prefix pcre2`/lib"
CPPFLAGS="-I`brew --prefix lmdb`/include -I`brew --prefix openssl`/include -I`brew --prefix pcre2`/include"
PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH"
./autogen.sh --enable-debug
- name: Compile and link
run: make -j8 CFLAGS="-Werror -Wall"
- name: Run unit tests
Expand Down

0 comments on commit 40c8b5e

Please sign in to comment.