Merge vaygr/opt-dep

This commit is contained in:
Bert Münnich 2016-12-28 19:11:06 +01:00
commit 5fb5d44cff
1 changed files with 4 additions and 1 deletions

View File

@ -11,12 +11,15 @@ LIBS := -lImlib2 -lX11 -lXft
# optional dependencies:
# giflib: gif animations
ifndef NO_GIFLIB
CPPFLAGS += -DHAVE_GIFLIB
LIBS += -lgif
endif
# libexif: jpeg auto-orientation, exif thumbnails
ifndef NO_LIBEXIF
CPPFLAGS += -DHAVE_LIBEXIF
LIBS += -lexif
endif
.PHONY: clean install uninstall