From 94b20e3128eaac566abfd7c0c773bb4c076c453e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 3 Apr 2025 10:46:27 +0800 Subject: git2d: Use extern inline for utf8_decode --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dd43574..6dd0781 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,8 @@ utils/colb: hookc/hookc: -git2d/git2d: git2d/main.o git2d/bare.o - $(CC) $(CFLAGS) `pkg-config --cflags --libs libgit2` -lpthread -o git2d/git2d $< +git2d/git2d: git2d/main.o git2d/bare.o git2d/utf8.c + $(CC) $(CFLAGS) `pkg-config --cflags --libs libgit2` -lpthread -o git2d/git2d $^ version.go: printf 'package main\n\nconst VERSION = "%s"\n' `git describe --tags --always --dirty` > $@ -- cgit v1.2.3