Fix link order with 'ld --as-needed' (Closes: #605771).

Gbp-Pq: Name 0004-link-order.patch
This commit is contained in:
Colin Watson 2022-05-13 23:17:04 +08:00 committed by openKylinBot
parent 178e7abc0b
commit dd3283f938
1 changed files with 1 additions and 1 deletions

View File

@ -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 $@