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

@@ -11,12 +11,12 @@ all: essai
#---------------------------------------------------------------
essai: essai.c libfloatimg.a floatimg.h Makefile
gcc $(COPT) $< $(LDOPT) -lpnglite -o $@
gcc $(COPT) $< $(LDOPT) -lpnglite -lz -o $@
#---------------------------------------------------------------
TOTAR = *.[ch] Makefile *.sh *.txt \
doc/*.tex doc/mkdoc.sh \
doc/*.tex doc/mkdoc.sh doc/*.txt \
funcs/*.[ch] funcs/Makefile \
tools/*.[ch] tools/Makefile \
v4l2/*.[ch] v4l2/Makefile \