diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-11-13 10:40:33 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-11-13 11:27:18 +0100 |
commit | 21615f5103fb3f22c5fec50fc1fb469d0e12109d (patch) | |
tree | e47a1e19976a9db28125e5d908e9364474dfe070 | |
parent | 71b3c754bcf10e664787398f273e629a31037a0a (diff) | |
download | ptxdist-21615f5103fb3f22c5fec50fc1fb469d0e12109d.tar.gz ptxdist-21615f5103fb3f22c5fec50fc1fb469d0e12109d.tar.xz |
smtpclient: avoid libnsl dependency
libnsl is not actually needed on Linux. It's still used if found, so make
sure it is not found. Otherwise it will be required if
TARGET_LINKER_AS_NEEDED is not enabled.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/smtpclient.in | 1 | ||||
-rw-r--r-- | rules/smtpclient.make | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/rules/smtpclient.in b/rules/smtpclient.in index c2df2e92c..afc44ffba 100644 --- a/rules/smtpclient.in +++ b/rules/smtpclient.in @@ -2,7 +2,6 @@ config SMTPCLIENT tristate prompt "smtpclient" - select LIBC_NSL help smtpclient is a small program which can be used to send emails. Unfortunately it disappeared from www.engelschall.com, so we diff --git a/rules/smtpclient.make b/rules/smtpclient.make index bade275da..d14a82bcd 100644 --- a/rules/smtpclient.make +++ b/rules/smtpclient.make @@ -27,15 +27,19 @@ SMTPCLIENT_DIR := $(BUILDDIR)/$(SMTPCLIENT) # Prepare # ---------------------------------------------------------------------------- -SMTPCLIENT_PATH := PATH=$(CROSS_PATH) -SMTPCLIENT_ENV := $(CROSS_ENV) +SMTPCLIENT_CONF_ENV := \ + $(CROSS_ENV) \ + ac_cv_lib_nsl_gethostbyname=no # # autoconf # -SMTPCLIENT_AUTOCONF := $(CROSS_AUTOCONF_USR) +SMTPCLIENT_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) -SMTPCLIENT_INSTALL_OPT := prefix=$(SMTPCLIENT_PKGDIR)/usr install +SMTPCLIENT_INSTALL_OPT := \ + prefix=$(SMTPCLIENT_PKGDIR)/usr \ + install # ---------------------------------------------------------------------------- # Target-Install |