* [Buildroot] [PATCH] libssh2: fix link with libgcrypt
@ 2017-07-09 19:05 Baruch Siach
2017-07-09 21:10 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2017-07-09 19:05 UTC (permalink / raw)
To: buildroot
libssh2 uses the implicit 'yes' argument of the --with-libgcrypt parameter as
a library path prefix, which breaks the build. Pass the library path as
--with-libgcrypt argument to fix that. Drop the unneeded
--with-libgcrypt-prefix.
Fixes:
http://autobuild.buildroot.net/results/ac3/ac3a3f5871a6c20f5407a468809682ce491b9cb3/
http://autobuild.buildroot.net/results/ba3/ba31fa11b2ce2875649414dd9093e039dfc129e8/
http://autobuild.buildroot.net/results/b07/b07bbbf7fe164ba6dc435de6d8b41fadff7a3b08/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/libssh2/libssh2.mk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package/libssh2/libssh2.mk b/package/libssh2/libssh2.mk
index ab721ac2dc87..c658282349be 100644
--- a/package/libssh2/libssh2.mk
+++ b/package/libssh2/libssh2.mk
@@ -15,8 +15,7 @@ LIBSSH2_CONF_OPTS = --disable-examples-build
# Favour libgcrypt.
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
LIBSSH2_DEPENDENCIES += libgcrypt
-LIBSSH2_CONF_OPTS += --with-libgcrypt \
- --with-libgcrypt-prefix=$(STAGING_DIR)/usr \
+LIBSSH2_CONF_OPTS += --with-libgcrypt=$(STAGING_DIR)/usr \
--without-openssl
# configure.ac forgets to link to dependent libraries of gcrypt breaking static
# linking
--
2.13.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] libssh2: fix link with libgcrypt
2017-07-09 19:05 [Buildroot] [PATCH] libssh2: fix link with libgcrypt Baruch Siach
@ 2017-07-09 21:10 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2017-07-09 21:10 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
> libssh2 uses the implicit 'yes' argument of the --with-libgcrypt parameter as
> a library path prefix, which breaks the build. Pass the library path as
> --with-libgcrypt argument to fix that. Drop the unneeded
> --with-libgcrypt-prefix.
> Fixes:
> http://autobuild.buildroot.net/results/ac3/ac3a3f5871a6c20f5407a468809682ce491b9cb3/
> http://autobuild.buildroot.net/results/ba3/ba31fa11b2ce2875649414dd9093e039dfc129e8/
> http://autobuild.buildroot.net/results/b07/b07bbbf7fe164ba6dc435de6d8b41fadff7a3b08/
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-09 21:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-09 19:05 [Buildroot] [PATCH] libssh2: fix link with libgcrypt Baruch Siach
2017-07-09 21:10 ` 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.