[Buildroot] [git commit branch/2018.11.x] package/fetchmail: fix shared build

Peter Korsgaard peter at korsgaard.com
Thu Mar 28 09:38:12 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=3e47a24ebce6ecf2ed25b2d3407b1b2359927ae7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.11.x

Update second patch to fix shared build

Fixes:
 - http://autobuild.buildroot.org/results/c27b9c82e68ade29b45dc84ecce5fe6653fbb7da

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 3dc3b4c2798ff76666ba6b3b83ae5942b76e6091)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 .../fetchmail/0002-configure.ac-use-pkg-config-to-find-openssl.patch    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/fetchmail/0002-configure.ac-use-pkg-config-to-find-openssl.patch b/package/fetchmail/0002-configure.ac-use-pkg-config-to-find-openssl.patch
index dd48783922..aefed7f2e4 100644
--- a/package/fetchmail/0002-configure.ac-use-pkg-config-to-find-openssl.patch
+++ b/package/fetchmail/0002-configure.ac-use-pkg-config-to-find-openssl.patch
@@ -42,7 +42,7 @@ index 16b0fcba..3a75ec6e 100644
 -  if test "$i" = "" ; then i="(none)" ; fi
 -  AC_MSG_RESULT($i)
 -  dnl XXX FIXME: use pkg-config if available!
-+  PKG_CHECK_MODULES([SSL],[libssl],[LIBS="$LIBS $SSL_LIBS"],[
++  PKG_CHECK_MODULES([SSL],[libssl libcrypto],[LIBS="$LIBS $SSL_LIBS"],[
 +    LDFLAGS="$LDFLAGS -L$with_ssl/lib"
 +    LIBS="$LIBS -lssl -lcrypto"
 +    dnl check if -ldl is needed


More information about the buildroot mailing list