From 1cb2db8b7f15d9f8cb3377b26f6e30d2d4b232ce Mon Sep 17 00:00:00 2001 From: Teemu Toivola Date: Thu, 2 Jan 2025 01:29:19 +0200 Subject: [PATCH] brew link gd doesn't work so adjust CFLAGS and LDFLAGS --- .github/Makefile.CI | 1 - .github/workflows/main.yml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/Makefile.CI b/.github/Makefile.CI index 17b5c48..7e01ef9 100644 --- a/.github/Makefile.CI +++ b/.github/Makefile.CI @@ -11,4 +11,3 @@ dependencies_ubuntu_analyzer: dependencies_ubuntu dependencies_macos: brew install sqlite gd check - brew link gd diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c3926c..0ba51e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -91,7 +91,8 @@ jobs: runs-on: macos-14 env: CC: clang - CFLAGS: '-Weverything -Wno-padded -Wno-poison-system-directories' + CFLAGS: '-I/opt/homebrew/include -Weverything -Wno-padded -Wno-poison-system-directories' + LDFLAGS: '-L/opt/homebrew/lib' steps: - uses: actions/checkout@v4