[Buildroot] [git commit branch/2017.02.x] package/popt: fix libiconv dependency
Peter Korsgaard
peter at korsgaard.com
Thu Jun 1 14:18:56 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=2b8cdf212d3f641866679ec32ba2d2006da0638b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
Make sure that libiconv is built before popt when needed.
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit da5816561b4a660e1562a7cea5b079d776e206a3)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/popt/popt.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/popt/popt.mk b/package/popt/popt.mk
index 863a47a..3ab5388 100644
--- a/package/popt/popt.mk
+++ b/package/popt/popt.mk
@@ -21,6 +21,7 @@ POPT_CONF_ENV = ac_cv_va_copy=yes
ifeq ($(BR2_PACKAGE_LIBICONV),y)
POPT_CONF_ENV += am_cv_lib_iconv=yes
POPT_CONF_OPTS += --with-libiconv-prefix=$(STAGING_DIR)/usr
+POPT_DEPENDENCIES += libiconv
endif
$(eval $(autotools-package))
More information about the buildroot
mailing list