Skip to content

Commit 9da3927

Browse files
build: Correctly set static linking flag in LDFLAGS
1 parent ed7c3a5 commit 9da3927

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ endif
2020
FAKEHTTP=$(BUILDDIR)/fakehttp
2121

2222
ifeq ($(STATIC), 1)
23-
override CFLAGS += -static
23+
override LDFLAGS += -static
2424
endif
2525

2626
all: $(FAKEHTTP)

0 commit comments

Comments
 (0)