added -lz to ld flags (for Fedora ?)

This commit is contained in:
2020-01-23 12:38:19 +01:00
parent cc9619fdbe
commit e804534715
5 changed files with 11 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ AR=ar
all: $(OBJS) ../libfloatimg.a
t: t.c ../libfloatimg.a $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -lpnglite -lm -o $@
gcc $(COPT) $< ../libfloatimg.a -lpnglite -lz -lm -o $@
# --------------------------------------------