Files
moonmix/tools/pkg-cc
T
nandi 92ae5cdbfe
CI / check (push) Successful in 9s
CI / native (push) Successful in 1m1s
Add moonmix: pavucontrol-style PipeWire mixer in MoonBit (WirePlumber + GTK4) (#1)
2026-11-22 23:52:37 +00:00

8 lines
349 B
Bash
Executable File

#!/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)