summaryrefslogtreecommitdiffstats
path: root/rules/mosh.make
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2017-09-01 18:39:20 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-09-05 08:08:11 +0200
commit31b1a8eb9bad4d398186c8d6af8a4ee9ab86bc96 (patch)
tree59863fc0366e79a24295cb65ac3fe22b45bb3103 /rules/mosh.make
parent7e04b2f9bbb19e1443672982d48d97c56049e8f9 (diff)
downloadptxdist-31b1a8eb9bad4d398186c8d6af8a4ee9ab86bc96.tar.gz
ptxdist-31b1a8eb9bad4d398186c8d6af8a4ee9ab86bc96.tar.xz
mosh: make the crypto library configurable
Mosh supports OpenSSL and Nettle. Let the user decide, but default to OpenSSL, which was hardcoded before. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/mosh.make')
-rw-r--r--rules/mosh.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/mosh.make b/rules/mosh.make
index 4fec37973..fe4b027f9 100644
--- a/rules/mosh.make
+++ b/rules/mosh.make
@@ -41,7 +41,7 @@ MOSH_CONF_OPT := \
--without-utempter \
--with-ncurses \
--without-ncursesw \
- --with-crypto-library=openssl
+ --with-crypto-library=$(call ptx/ifdef, PTXCONF_MOSH_NETTLE, nettle, openssl)
# ----------------------------------------------------------------------------