#!/bin/sh # C compiler wrapper used by moon.pkg (link.native.stub-cc / cc): moon does # not expand $(pkg-config ...) in flags, so append them here. Works for both # compiling stubs and linking the final executable. set -e PKGS="${MOONMIX_PKGS:-libpipewire-0.3 wireplumber-0.5 gtk4}" exec "${MOONMIX_CC:-cc}" "$@" $(pkg-config --cflags --libs $PKGS)