From 348b145590b0b6ab32b04ca7e101d5abe0929ca7 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 3 Apr 2025 16:36:07 +0800 Subject: Makefile: Put libraries after the source --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3cb45ae..81e3ef1 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ utils/colb: hookc/hookc: git2d/git2d: git2d/main.o git2d/bare.o git2d/utf8.c - $(CC) $(CFLAGS) `pkg-config --cflags --libs libgit2` -lpthread -o git2d/git2d $^ + $(CC) $(CFLAGS) -o git2d/git2d $^ `pkg-config --cflags --libs libgit2` -lpthread version.go: printf 'package main\n\nconst VERSION = "%s"\n' `git describe --tags --always --dirty` > $@ -- cgit v1.2.3