From ed7c3a59f2dc491abb443821fe2e40f244e407cd Mon Sep 17 00:00:00 2001 From: Mike Wang Date: Sun, 8 Jun 2025 15:46:30 +0800 Subject: [PATCH 1/2] CI: Update artifact upload path --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6bfc9ab..78dc9ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -138,5 +138,5 @@ jobs: uses: actions/upload-artifact@v4 with: name: fakehttp-linux-${{ matrix.name }} - path: build + path: build/fakehttp if-no-files-found: error From 9da3927940fa3639b53c751e1a307609b158f015 Mon Sep 17 00:00:00 2001 From: Mike Wang Date: Sun, 8 Jun 2025 15:58:52 +0800 Subject: [PATCH 2/2] build: Correctly set static linking flag in LDFLAGS --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 76917ab..5b7d7bb 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ endif FAKEHTTP=$(BUILDDIR)/fakehttp ifeq ($(STATIC), 1) - override CFLAGS += -static + override LDFLAGS += -static endif all: $(FAKEHTTP)