package/speechd: fix libltdl enable/disable configure option

- libltdl usage is configured by --disable/enable-ltdl (see configure.ac
  'AC_ARG_ENABLE([ltdl], [...])')

Fixes:

  configure: WARNING: unrecognized options: [...] --with-libltdl

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Peter Seiderer 2023-02-27 22:42:19 +01:00 committed by Arnout Vandecappelle
parent 33a208e5da
commit 1a5686823d

View File

@ -24,9 +24,9 @@ SPEECHD_PRE_CONFIGURE_HOOKS += SPEECHD_TOUCH_CONFIG_RPATH
ifeq ($(BR2_PACKAGE_LIBTOOL),y)
SPEECHD_DEPENDENCIES += libtool
SPEECHD_CONF_OPTS += --with-libltdl
SPEECHD_CONF_OPTS += --enable-ltdl
else
SPEECHD_CONF_OPTS += --without-libltdl
SPEECHD_CONF_OPTS += --disable-ltdl
endif
define SPEECHD_INSTALL_INIT_SYSTEMD