configure.ac: fix linking with minimal LIBS #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: msktutil macOS | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build on macOS | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
cfg: | |
- { cc-version: gcc } | |
- { cc-version: clang } | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Build msktutil ${{ matrix.cfg.cc-version }} | |
shell: sh | |
run: | | |
# silence Apple deprecation notices | |
brew install krb5 openldap | |
case "${{ matrix.cfg.cc-version }}" in | |
gcc) | |
brew install gcc@10 | |
export CC=gcc-10 | |
export CXX=g++-10 | |
;; | |
clang) | |
export CC=clang | |
export CXX=clang++ | |
;; | |
esac | |
${CC} --version | |
./autogen.sh | |
./configure \ | |
--with-ldapdir=/usr/local/opt/openldap \ | |
--with-krb5-config=/usr/local/opt/krb5/bin/krb5-config && make |