package/ytree: fix static build with readline
PATCH 1/1 package/ytree: fix static build with readline
Fixes:
- http://autobuild.buildroot.org/results/b1a1392636467f8c07504fa6cfb17962764820ae
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/ytree/ytree.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/ytree/ytree.mk +2 -2
@@ -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
Signature · 1 line
2.23.0
PATCH 1/1 package/ytree: fix static build with readline
Hi Fabrice,
Quoted 4 lines · Fabrice Fontaine
Fixes:
- http://autobuild.buildroot.org/results/b1a1392636467f8c07504fa6cfb17962764820aeSigned-off-by Fabrice Fontaine <[email protected]>
Reviewed-by Giulio Benetti <[email protected]>
Quoted 21 lines
--- package/ytree/ytree.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/ytree/ytree.mk +2
-2@@ -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
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Thomas Petazzoni
AppliedPATCH 1/1 package/ytree: fix static build with readline
In reply to Fabrice FontaineQuoted 7 lines · On Wed, 25 Sep 2019 18:52:48 +0200 Fabrice Fontaine…
Fixes:
- http://autobuild.buildroot.org/results/b1a1392636467f8c07504fa6cfb17962764820aeSigned-off-by Fabrice Fontaine <[email protected]>--- package/ytree/ytree.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com