From 1e4c8002ed791d4dd84b7c9313b23574c9b2cb87 Mon Sep 17 00:00:00 2001 From: Dextinfire <> Date: Sat, 16 Nov 2024 16:18:12 -0800 Subject: [PATCH] Fix libatrac9 builds for linux/mac --- .github/workflows/pipeline.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 59d2bb45..3775dcca 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -151,7 +151,12 @@ jobs: if [[ "${{ matrix.os_name }}" == "macos"* ]]; then sed -i '' -e 's/,--version-script=libatrac9.version//g' Makefile fi - make CC="$CC" + if [ -z "${CC}" ]; then + make + else + make CC="$CC" + fi + mkdir -p ../include/libatrac9 mkdir -p ../libs cp bin/libatrac9.a ../libs/