ci: Allow passing c{,pp}_link_args to meson
authorMichel Dänzer <mdaenzer@redhat.com>
Fri, 10 Feb 2023 15:09:01 +0000 (16:09 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 17 Mar 2023 16:08:34 +0000 (16:08 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>

.gitlab-ci/meson/build.sh

index c1bfbc5..e3563b1 100755 (executable)
@@ -71,7 +71,9 @@ meson setup _build \
       -D buildtype=${BUILDTYPE:-debug} \
       -D build-tests=true \
       -D c_args="$(echo -n $C_ARGS)" \
+      -D c_link_args="$(echo -n $C_LINK_ARGS)" \
       -D cpp_args="$(echo -n $CPP_ARGS)" \
+      -D cpp_link_args="$(echo -n $CPP_LINK_ARGS)" \
       -D enable-glcpp-tests=false \
       -D libunwind=${UNWIND} \
       ${DRI_LOADERS} \