Skip to content

configure.ac: fix linking with minimal LIBS #6

configure.ac: fix linking with minimal LIBS

configure.ac: fix linking with minimal LIBS #6

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