diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-31 22:59:56 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-31 22:59:56 +0200 |
commit | 0436ad2bebd436834b155f7344bffdd67bf658d8 (patch) | |
tree | 524da67b0616cb90d53dc82ddb100064e279f33e /GNUmakefile | |
parent | 4d558bcfa49008af1f784e2e826a5cc1692c1025 (diff) | |
download | fbida-0436ad2bebd436834b155f7344bffdd67bf658d8.tar.gz |
build: more pkg-config tweaks
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index 4bcbe8f..2eba7c3 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -90,14 +90,24 @@ endif ######################################################################## # conditional stuff +ifeq ($(HAVE_LIBPNG),yes) + PKGS_IDA += libpng + PKGS_FBI += libpng +endif +ifeq ($(HAVE_LIBTIFF),yes) + PKGS_IDA += libtiff-4 + PKGS_FBI += libtiff-4 +endif +ifeq ($(HAVE_LIBWEBP),yes) + PKGS_IDA += libwebp + PKGS_FBI += libwebp +endif + includes = ENDIAN_H STRSIGNAL NEW_EXIF -libraries = PCD GIF PNG TIFF WEBP CURL SANE LIRC +libraries = PCD GIF CURL SANE LIRC ida_libs = PCD GIF PNG TIFF WEBP CURL SANE fbi_libs = PCD GIF PNG TIFF WEBP CURL LIRC -PNG_LDLIBS := $(shell $(PKG_CONFIG) --libs libpng) -TIFF_LDLIBS := $(shell $(PKG_CONFIG) --libs libtiff-4) -WEBP_LDLIBS := $(shell $(PKG_CONFIG) --libs libwebp) PCD_LDLIBS := -lpcd GIF_LDLIBS := -lgif SANE_LDLIBS := -lsane |