From 128dafdfe98632a890876413d0b3d9ca67f071d5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 26 Jul 2024 22:54:51 +1000 Subject: [PATCH] Pass libs after object files to linker Fixes #5206 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6e9951399..670a48ed3 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,7 @@ src/kak: src/kak$(tag) ln -sf kak$(tag) $@ src/kak$(tag): src/.version.o $(objects) - $(CXX) $(KAK_LDFLAGS) $(KAK_CXXFLAGS) $(KAK_LIBS) $(objects) src/.version.o -o $@ + $(CXX) $(KAK_LDFLAGS) $(KAK_CXXFLAGS) $(objects) src/.version.o $(KAK_LIBS) -o $@ deps = $(shell touch src/.version$(tag).d && find src -type f -name '.*$(tag).d') # Ensure we find one deps for FreeBSD make deps != touch src/.version$(tag).d && find src -type f -name '.*$(tag).d' # Ensure we find one deps for FreeBSD make