1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
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(-)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ THEMES = themes/upstream themes/openSUS
all: bin2c gfxboot-compile bincode gfxboot-font addblack
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 $@
|