* [Buildroot] [PATCH 1/1] package/libssh2: fix build with openssl and atomic
@ 2019-05-18 9:53 Fabrice Fontaine
2019-05-18 19:58 ` Thomas Petazzoni
2019-06-06 7:32 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-05-18 9:53 UTC (permalink / raw)
To: buildroot
Fixes:
- http://autobuild.buildroot.org/results/e381eefa39307f1c8eb22f872df438b3fe0352dd
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libssh2/libssh2.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/libssh2/libssh2.mk b/package/libssh2/libssh2.mk
index ed0dd40bec..abee1f8c77 100644
--- a/package/libssh2/libssh2.mk
+++ b/package/libssh2/libssh2.mk
@@ -26,9 +26,12 @@ LIBSSH2_CONF_OPTS += --with-libgcrypt-prefix=$(STAGING_DIR)/usr \
# linking
LIBSSH2_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/libgcrypt-config --libs`"
else ifeq ($(BR2_PACKAGE_LIBSSH2_OPENSSL),y)
-LIBSSH2_DEPENDENCIES += openssl
+LIBSSH2_DEPENDENCIES += host-pkgconf openssl
LIBSSH2_CONF_OPTS += --with-libssl-prefix=$(STAGING_DIR)/usr \
--with-crypto=openssl
+# configure.ac forgets to link to dependent libraries of openssl breaking static
+# linking
+LIBSSH2_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
endif
# Add zlib support if enabled
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/libssh2: fix build with openssl and atomic
2019-05-18 9:53 [Buildroot] [PATCH 1/1] package/libssh2: fix build with openssl and atomic Fabrice Fontaine
@ 2019-05-18 19:58 ` Thomas Petazzoni
2019-06-06 7:32 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-05-18 19:58 UTC (permalink / raw)
To: buildroot
On Sat, 18 May 2019 11:53:23 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fixes:
> - http://autobuild.buildroot.org/results/e381eefa39307f1c8eb22f872df438b3fe0352dd
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/libssh2/libssh2.mk | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/libssh2: fix build with openssl and atomic
2019-05-18 9:53 [Buildroot] [PATCH 1/1] package/libssh2: fix build with openssl and atomic Fabrice Fontaine
2019-05-18 19:58 ` Thomas Petazzoni
@ 2019-06-06 7:32 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-06-06 7:32 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fixes:
> - http://autobuild.buildroot.org/results/e381eefa39307f1c8eb22f872df438b3fe0352dd
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2019.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-06-06 7:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-18 9:53 [Buildroot] [PATCH 1/1] package/libssh2: fix build with openssl and atomic Fabrice Fontaine
2019-05-18 19:58 ` Thomas Petazzoni
2019-06-06 7:32 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.