![Fabio Porcedda](/assets/img/avatar_default.png)
This change permits through pkg-config to retrive even the depenencies that is useful for a static linking. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
699 B
Makefile
29 lines
699 B
Makefile
################################################################################
|
|
#
|
|
# popt
|
|
#
|
|
################################################################################
|
|
|
|
POPT_VERSION = 1.16
|
|
# rpm5.org down
|
|
POPT_SITE = http://anduin.linuxfromscratch.org/sources/BLFS/svn/p
|
|
POPT_INSTALL_STAGING = YES
|
|
POPT_LICENSE = MIT
|
|
POPT_LICENSE_FILES = COPYING
|
|
POPT_AUTORECONF = YES
|
|
POPT_GETTEXTIZE = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_GETTEXT),y)
|
|
POPT_DEPENDENCIES += gettext
|
|
endif
|
|
|
|
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
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|