diff mbox series

[1/1] package/libssh2: disable rpath

Message ID 20230702115651.2430264-1-bernd@kuhls.net
State Accepted
Headers show
Series [1/1] package/libssh2: disable rpath | expand

Commit Message

Bernd Kuhls July 2, 2023, 11:56 a.m. UTC
Bumping libssh2 to 1.11.0 with buildroot commit
af87ad197caf434936fe239f2718fd17b60fcb8b
causes build errors with libcurl due to "-R" being added to libssh2.pc.

Quoting autobuilder build-end.log

checking for recv... no
configure: error: Unable to link function recv

Quoting autobuilder libcurl-8.1.2/config.log

arc-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-R'

Fixes:
http://autobuild.buildroot.net/results/78f/78ffda92d51f8abdbcef93f968ace432d0d44979/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/libssh2/libssh2.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Yann E. MORIN July 3, 2023, 7:37 p.m. UTC | #1
Bernd, All,

On 2023-07-02 13:56 +0200, Bernd Kuhls spake thusly:
> Bumping libssh2 to 1.11.0 with buildroot commit
> af87ad197caf434936fe239f2718fd17b60fcb8b
> causes build errors with libcurl due to "-R" being added to libssh2.pc.
> 
> Quoting autobuilder build-end.log
> 
> checking for recv... no
> configure: error: Unable to link function recv
> 
> Quoting autobuilder libcurl-8.1.2/config.log
> 
> arc-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command-line option '-R'
> 
> Fixes:
> http://autobuild.buildroot.net/results/78f/78ffda92d51f8abdbcef93f968ace432d0d44979/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/libssh2/libssh2.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/libssh2/libssh2.mk b/package/libssh2/libssh2.mk
> index 8bedbdffba..a42be46a7a 100644
> --- a/package/libssh2/libssh2.mk
> +++ b/package/libssh2/libssh2.mk
> @@ -11,7 +11,7 @@ LIBSSH2_LICENSE = BSD
>  LIBSSH2_LICENSE_FILES = COPYING
>  LIBSSH2_CPE_ID_VENDOR = libssh2
>  LIBSSH2_INSTALL_STAGING = YES
> -LIBSSH2_CONF_OPTS = --disable-examples-build
> +LIBSSH2_CONF_OPTS = --disable-examples-build --disable-rpath
>  
>  ifeq ($(BR2_PACKAGE_LIBSSH2_MBEDTLS),y)
>  LIBSSH2_DEPENDENCIES += mbedtls
> -- 
> 2.39.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/libssh2/libssh2.mk b/package/libssh2/libssh2.mk
index 8bedbdffba..a42be46a7a 100644
--- a/package/libssh2/libssh2.mk
+++ b/package/libssh2/libssh2.mk
@@ -11,7 +11,7 @@  LIBSSH2_LICENSE = BSD
 LIBSSH2_LICENSE_FILES = COPYING
 LIBSSH2_CPE_ID_VENDOR = libssh2
 LIBSSH2_INSTALL_STAGING = YES
-LIBSSH2_CONF_OPTS = --disable-examples-build
+LIBSSH2_CONF_OPTS = --disable-examples-build --disable-rpath
 
 ifeq ($(BR2_PACKAGE_LIBSSH2_MBEDTLS),y)
 LIBSSH2_DEPENDENCIES += mbedtls