From 3d24a86e33a2323bd6db4b1fd1d010d9c0f72308 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 5 Jul 2011 22:08:51 +0100 Subject: [PATCH] Add support for "make LINK_TO_LIBJPEG=1" In Debian we want library dependencies to work in the conventional way, since many tools expect that and use it to generate package dependencies. Origin: vendor, Debian --- makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/makefile b/makefile index 35de3283..2b228049 100644 --- a/makefile +++ b/makefile @@ -302,6 +302,11 @@ else CFLAGS_FS= endif +ifdef LINK_TO_LIBJPEG +CFLAGS_LIBJPEG=-DLINK_TO_LIBJPEG +LIB_JPEG=-ljpeg +endif + CFLAGS_PRELOAD= ifneq ($(DP_MAKE_TARGET), mingw) ifdef DP_PRELOAD_DEPENDENCIES -- 2.39.2