blob: d9772c1e32a918ef417b81e0458d4f262e2ba17d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
From: Colin Watson <cjwatson@ubuntu.com>
Date: Sun, 3 Jan 2021 02:06:39 -0800
Subject: Fix link order with 'ld --as-needed' (Closes: #605771).
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6921559..54af87c 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ changelog: $(GITDEPS)
$(GIT2LOG) --changelog changelog
gfxboot-font: gfxboot-font.c
- $(CC) $(CFLAGS) -I /usr/include/freetype2 -lfreetype $< -o $@
+ $(CC) $(CFLAGS) -I /usr/include/freetype2 $< -lfreetype -o $@
gfxboot-compile: gfxboot-compile.c vocabulary.h bincode.h
$(CC) $(CFLAGS) $< -o $@
|