summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOto Šťáva <oto.stava@nic.cz>2024-04-30 11:19:34 +0200
committerOto Šťáva <oto.stava@nic.cz>2024-05-02 12:24:24 +0200
commit71c10ed7059391f5540610a146a6699a015cfb35 (patch)
tree2e63a2d89e510f6a56f7c685427ba4118c45b91b
parentMerge branch 'website-push-docs' into 'master' (diff)
downloadknot-resolver-71c10ed7059391f5540610a146a6699a015cfb35.tar.xz
knot-resolver-71c10ed7059391f5540610a146a6699a015cfb35.zip
.github/workflows/macOS: fix prefix for ARM macOS
-rw-r--r--.github/workflows/macOS.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/macOS.yaml b/.github/workflows/macOS.yaml
index c9970645..fd834883 100644
--- a/.github/workflows/macOS.yaml
+++ b/.github/workflows/macOS.yaml
@@ -27,12 +27,13 @@ jobs:
git clone -b ${KNOT_DNS_VERSION} https://gitlab.nic.cz/knot/knot-dns.git
cd knot-dns
autoreconf -fi
- ./configure --disable-static --disable-fastparser --disable-documentation --disable-daemon --disable-utilities --with-lmdb=no
+ ./configure --prefix=${HOME}/.local/usr --disable-static --disable-fastparser --disable-documentation --disable-daemon --disable-utilities --with-lmdb=no
make -j2 install
cd ..
- name: Build resolver
run: |
+ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${HOME}/.local/usr/lib/pkgconfig"
meson build_darwin --default-library=static --buildtype=debugoptimized --prefix=${HOME}/.local/usr -Dc_args='-fno-omit-frame-pointer'
ninja -C build_darwin -v install