package/rpm: add readline support

When readline support is detected, enable readline support.

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023.05.x
James Knight 2023-05-07 17:34:33 -04:00 committed by Yann E. MORIN
parent 38c4621df3
commit aeff26d21d
1 changed files with 7 additions and 0 deletions

View File

@ -89,6 +89,13 @@ else
RPM_CONF_OPTS += --disable-python
endif
ifeq ($(BR2_PACKAGE_READLINE),y)
RPM_DEPENDENCIES += readline
RPM_CONF_OPTS += --with-readline
else
RPM_CONF_OPTS += --without-readline
endif
ifeq ($(BR2_PACKAGE_SQLITE),y)
RPM_DEPENDENCIES += sqlite
RPM_CONF_OPTS += --enable-sqlite