blob: 9bb7504b218b05db4c26804895eaa3d752cd4ba2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Author: Colin Watson <cjwatson@ubuntu.com>
Description: Fix link order with 'ld --as-needed' (Closes: #605771).
diff -Naurp gfxboot.orig/Makefile gfxboot/Makefile
--- gfxboot.orig/Makefile
+++ gfxboot/Makefile
@@ -17,7 +17,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 $@
|