build with libtiff 3.9.6

This commit is contained in:
Thomas Bernard
2019-07-24 03:38:39 +02:00
parent f28a6cb9a3
commit 7f4e1a10eb
2 changed files with 3 additions and 2 deletions

View File

@@ -681,7 +681,8 @@ endif
COPT += -DNO_X11
endif
LOPT += $(TTFLOPT)
LOPT += $(shell $(PKG_CONFIG) --libs libpng libtiff-4)
LOPT += $(shell $(PKG_CONFIG) --libs libpng `$(PKG_CONFIG) --exists libtiff-4 && echo libtiff-4`)
LOPT += $(shell $(PKG_CONFIG) --exists libtiff-4 || echo -ltiff)
LOPT += $(LUALOPT)
OBJDIR = ../obj/unix
FCLOPT = -lfontconfig