mirror of
https://codeberg.org/nsxiv/nsxiv
synced 2024-11-17 09:25:39 +00:00
Add build options for optional dependencies
This commit is contained in:
parent
ff2ce99bf7
commit
22436f747d
5
Makefile
5
Makefile
@ -11,12 +11,15 @@ LIBS := -lImlib2 -lX11 -lXft
|
||||
|
||||
# optional dependencies:
|
||||
# giflib: gif animations
|
||||
ifeq ($(WITH_GIFLIB), 1)
|
||||
CPPFLAGS += -DHAVE_GIFLIB
|
||||
LIBS += -lgif
|
||||
endif
|
||||
# libexif: jpeg auto-orientation, exif thumbnails
|
||||
ifeq ($(WITH_LIBEXIF), 1)
|
||||
CPPFLAGS += -DHAVE_LIBEXIF
|
||||
LIBS += -lexif
|
||||
|
||||
endif
|
||||
|
||||
.PHONY: clean install uninstall
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user