From 6402234e5935812b67bc058a14cef7423ae2e49d Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 17 Mar 2014 09:59:45 +0100 Subject: [PATCH] lftp: fix static linking Fixes http://autobuild.buildroot.net/results/14b/14b72a78936233b60dd893cef7803f909b846bea/ --with-modules only makes sense when linking shared, so disable when not. Signed-off-by: Peter Korsgaard --- package/lftp/lftp.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/lftp/lftp.mk b/package/lftp/lftp.mk index 0b00594d18..5c6fd4bb6f 100644 --- a/package/lftp/lftp.mk +++ b/package/lftp/lftp.mk @@ -11,7 +11,9 @@ LFTP_LICENSE_FILES = COPYING LFTP_AUTORECONF = YES LFTP_DEPENDENCIES = readline zlib +ifneq ($(BR2_PREFER_STATIC_LIB),y) LFTP_CONF_OPT += --with-modules +endif ifeq ($(BR2_PACKAGE_GNUTLS),y) LFTP_DEPENDENCIES += gnutls -- 2.30.2