Commit 690ba839 authored by Ulf Samuelsson's avatar Ulf Samuelsson
Browse files

Support libiconv option for popt

parent 6dc301e0
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -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