]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
.github/workflows/macOS: fix prefix for ARM macOS
authorOto Šťáva <oto.stava@nic.cz>
Tue, 30 Apr 2024 09:19:34 +0000 (11:19 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Thu, 2 May 2024 10:24:24 +0000 (12:24 +0200)
.github/workflows/macOS.yaml

index c9970645545f1e29b4ca8b80055285e58ef59a46..fd834883a4a5be70478fcd7c04ebf2620f3fe2f9 100644 (file)
@@ -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