summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-03-17 08:59:45 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2014-03-17 08:59:45 (GMT)
commit6402234e5935812b67bc058a14cef7423ae2e49d (patch)
tree0ea5868dd7db65d4598f40279321a18fc3e38b7e
parentf8573df213ef04cbc7fc60c7ad05c4a6c6f7dc5d (diff)
downloadbuildroot-6402234e5935812b67bc058a14cef7423ae2e49d.tar.gz
buildroot-6402234e5935812b67bc058a14cef7423ae2e49d.tar.bz2
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 <peter@korsgaard.com>
-rw-r--r--package/lftp/lftp.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/lftp/lftp.mk b/package/lftp/lftp.mk
index 0b00594..5c6fd4b 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