All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/ytree: fix static build with readline
@ 2019-09-25 16:52 Fabrice Fontaine
  2019-10-04 22:18 ` Giulio Benetti
  2019-10-07 21:19 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-09-25 16:52 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/ytree/ytree.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/ytree/ytree.mk b/package/ytree/ytree.mk
index 2d2a6946f7..824ace7155 100644
--- a/package/ytree/ytree.mk
+++ b/package/ytree/ytree.mk
@@ -14,9 +14,9 @@ YTREE_CFLAGS = -DCOLOR_SUPPORT $(TARGET_CFLAGS)
 YTREE_LDFLAGS = -lncurses $(TARGET_LDFLAGS)
 
 ifeq ($(BR2_PACKAGE_READLINE),y)
-YTREE_DEPENDENCIES += readline
+YTREE_DEPENDENCIES += host-pkgconf readline
 YTREE_CFLAGS += -DREADLINE_SUPPORT
-YTREE_LDFLAGS += -lreadline
+YTREE_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs readline`
 endif
 
 define YTREE_BUILD_CMDS
-- 
2.23.0

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

* [Buildroot] [PATCH 1/1] package/ytree: fix static build with readline
  2019-09-25 16:52 [Buildroot] [PATCH 1/1] package/ytree: fix static build with readline Fabrice Fontaine
@ 2019-10-04 22:18 ` Giulio Benetti
  2019-10-07 21:19 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Giulio Benetti @ 2019-10-04 22:18 UTC (permalink / raw)
  To: buildroot

Hi Fabrice,

On 9/25/19 6:52 PM, Fabrice Fontaine wrote:
> Fixes:
>   - http://autobuild.buildroot.org/results/b1a1392636467f8c07504fa6cfb17962764820ae
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

> ---
>   package/ytree/ytree.mk | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/ytree/ytree.mk b/package/ytree/ytree.mk
> index 2d2a6946f7..824ace7155 100644
> --- a/package/ytree/ytree.mk
> +++ b/package/ytree/ytree.mk
> @@ -14,9 +14,9 @@ YTREE_CFLAGS = -DCOLOR_SUPPORT $(TARGET_CFLAGS)
>   YTREE_LDFLAGS = -lncurses $(TARGET_LDFLAGS)
>   
>   ifeq ($(BR2_PACKAGE_READLINE),y)
> -YTREE_DEPENDENCIES += readline
> +YTREE_DEPENDENCIES += host-pkgconf readline
>   YTREE_CFLAGS += -DREADLINE_SUPPORT
> -YTREE_LDFLAGS += -lreadline
> +YTREE_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs readline`
>   endif
>   
>   define YTREE_BUILD_CMDS
> 

-- 
Giulio Benetti
Benetti Engineering sas

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

* [Buildroot] [PATCH 1/1] package/ytree: fix static build with readline
  2019-09-25 16:52 [Buildroot] [PATCH 1/1] package/ytree: fix static build with readline Fabrice Fontaine
  2019-10-04 22:18 ` Giulio Benetti
@ 2019-10-07 21:19 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-07 21:19 UTC (permalink / raw)
  To: buildroot

On Wed, 25 Sep 2019 18:52:48 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fixes:
>  - http://autobuild.buildroot.org/results/b1a1392636467f8c07504fa6cfb17962764820ae
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/ytree/ytree.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

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

end of thread, other threads:[~2019-10-07 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-25 16:52 [Buildroot] [PATCH 1/1] package/ytree: fix static build with readline Fabrice Fontaine
2019-10-04 22:18 ` Giulio Benetti
2019-10-07 21:19 ` Thomas Petazzoni

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.