diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-25 20:50:59 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-25 20:50:59 +0000 |
commit | 690ba839c0a2b672a786fdf174ea14827f1c553a (patch) | |
tree | 4a2f061ef29824a6ba053c30e496a437e96ef19e /package | |
parent | 6dc301e0be3a6218c50b4352b1e899fca996ab45 (diff) |
Support libiconv option for popt
Diffstat (limited to 'package')
-rw-r--r-- | package/popt/popt.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package/popt/popt.mk b/package/popt/popt.mk index b2f7c8b4a..3c0ab0b5a 100644 --- a/package/popt/popt.mk +++ b/package/popt/popt.mk @@ -5,9 +5,15 @@ ############################################################# POPT_VERSION:=1.14 POPT_SITE:=http://rpm5.org/files/popt -POPT_INSTALL_STAGING:=YES -POPT_INSTALL_TARGET:=YES -POPT_CONF_ENV:=ac_cv_va_copy=yes +POPT_INSTALL_STAGING = YES +POPT_INSTALL_TARGET = YES + +POPT_CONF_ENV = ac_cv_va_copy=yes + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +POPT_CONF_ENV += am_cv_lib_iconv=yes +POPT_CONF_OPT += --with-libiconv-prefix=$(STAGING_DIR)/usr +endif POPT_DEPENDENCIES:=uclibc |