package/popt: fix libiconv dependency
Make sure that libiconv is built before popt when needed. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
cbf2b6e3db
commit
da5816561b
|
@ -21,6 +21,7 @@ POPT_CONF_ENV = ac_cv_va_copy=yes
|
||||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||||
POPT_CONF_ENV += am_cv_lib_iconv=yes
|
POPT_CONF_ENV += am_cv_lib_iconv=yes
|
||||||
POPT_CONF_OPTS += --with-libiconv-prefix=$(STAGING_DIR)/usr
|
POPT_CONF_OPTS += --with-libiconv-prefix=$(STAGING_DIR)/usr
|
||||||
|
POPT_DEPENDENCIES += libiconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|
Loading…
Reference in a new issue