mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/ytree: fix static build with readline
Fixes: - http://autobuild.buildroot.org/results/b1a1392636467f8c07504fa6cfb17962764820ae Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d22be9bddc
commit
b1c90467d8
@ -14,9 +14,9 @@ YTREE_CFLAGS = -DCOLOR_SUPPORT $(TARGET_CFLAGS)
|
|||||||
YTREE_LDFLAGS = -lncurses $(TARGET_LDFLAGS)
|
YTREE_LDFLAGS = -lncurses $(TARGET_LDFLAGS)
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||||
YTREE_DEPENDENCIES += readline
|
YTREE_DEPENDENCIES += host-pkgconf readline
|
||||||
YTREE_CFLAGS += -DREADLINE_SUPPORT
|
YTREE_CFLAGS += -DREADLINE_SUPPORT
|
||||||
YTREE_LDFLAGS += -lreadline
|
YTREE_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs readline`
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define YTREE_BUILD_CMDS
|
define YTREE_BUILD_CMDS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user