All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libcurl: remove OpenSSL LD_LIBRARY_PATH override
@ 2023-04-26 16:39 Tom Wambold
  2023-05-01 19:35 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Wambold @ 2023-04-26 16:39 UTC (permalink / raw)
  To: buildroot; +Cc: Tom Wambold

I believe this is no longer necessary since commit 2d4c215 [0] in curl
(released in curl 7.60.0). This appears to cause problems when building
on Arch Linux at least, as noted in bug 15181 [1].  Just removing this
entirely resolves this.

This effectively reverts a51ce319492 and 71b1d397266.

[0]: https://github.com/curl/curl/commit/2d4c2152c9eb3dbdf943de46ed8fc11285f1b90b
[1]: https://bugs.buildroot.org/show_bug.cgi?id=15181

Signed-off-by: Tom Wambold <tom5760@gmail.com>
---
 package/libcurl/libcurl.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index 1a1594a45e..dd715c1bb6 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -56,11 +56,6 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBCURL_OPENSSL),y)
 LIBCURL_DEPENDENCIES += openssl
-# configure adds the cross openssl dir to LD_LIBRARY_PATH which screws up
-# native stuff during the rest of configure when target == host.
-# Fix it by setting LD_LIBRARY_PATH to something sensible so those libs
-# are found first.
-LIBCURL_CONF_ENV += LD_LIBRARY_PATH=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)/lib:/usr/lib
 LIBCURL_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr \
 	--with-ca-path=/etc/ssl/certs
 else
-- 
2.40.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/libcurl: remove OpenSSL LD_LIBRARY_PATH override
  2023-04-26 16:39 [Buildroot] [PATCH] package/libcurl: remove OpenSSL LD_LIBRARY_PATH override Tom Wambold
@ 2023-05-01 19:35 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2023-05-01 19:35 UTC (permalink / raw)
  To: Tom Wambold; +Cc: buildroot

Tom, All,

On 2023-04-26 12:39 -0400, Tom Wambold spake thusly:
> I believe this is no longer necessary since commit 2d4c215 [0] in curl
> (released in curl 7.60.0). This appears to cause problems when building
> on Arch Linux at least, as noted in bug 15181 [1].  Just removing this
> entirely resolves this.
> 
> This effectively reverts a51ce319492 and 71b1d397266.
> 
> [0]: https://github.com/curl/curl/commit/2d4c2152c9eb3dbdf943de46ed8fc11285f1b90b
> [1]: https://bugs.buildroot.org/show_bug.cgi?id=15181
> 
> Signed-off-by: Tom Wambold <tom5760@gmail.com>

Thanks for this patch. James sent the same a few days before you, and
basically both commit logs were roughly equivalent. So I applied James'
patch instead of yours.

Regards,
Yann E. MORIN.

> ---
>  package/libcurl/libcurl.mk | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
> index 1a1594a45e..dd715c1bb6 100644
> --- a/package/libcurl/libcurl.mk
> +++ b/package/libcurl/libcurl.mk
> @@ -56,11 +56,6 @@ endif
>  
>  ifeq ($(BR2_PACKAGE_LIBCURL_OPENSSL),y)
>  LIBCURL_DEPENDENCIES += openssl
> -# configure adds the cross openssl dir to LD_LIBRARY_PATH which screws up
> -# native stuff during the rest of configure when target == host.
> -# Fix it by setting LD_LIBRARY_PATH to something sensible so those libs
> -# are found first.
> -LIBCURL_CONF_ENV += LD_LIBRARY_PATH=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)/lib:/usr/lib
>  LIBCURL_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr \
>  	--with-ca-path=/etc/ssl/certs
>  else
> -- 
> 2.40.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-01 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-26 16:39 [Buildroot] [PATCH] package/libcurl: remove OpenSSL LD_LIBRARY_PATH override Tom Wambold
2023-05-01 19:35 ` Yann E. MORIN

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.