1a0986d6da
Make sure we take into account libgpg-error when linking against libgcrypt, by adding a patch against xmlstarlet configure.ac. The handling of static libraries is clearly horrible in this configure.ac script, using pkg-config would be a lot better, but it's also a lot more work. Fixes: http://autobuild.buildroot.org/results/931/931dede013d94f88fcb5185dac494775603063ec/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
829 B
Makefile
29 lines
829 B
Makefile
################################################################################
|
|
#
|
|
# xmlstarlet
|
|
#
|
|
################################################################################
|
|
|
|
XMLSTARLET_VERSION = 1.5.0
|
|
XMLSTARLET_SITE = http://downloads.sourceforge.net/project/xmlstar/xmlstarlet/$(XMLSTARLET_VERSION)
|
|
XMLSTARLET_LICENSE = MIT
|
|
XMLSTARLET_LICENSE_FILES = COPYING
|
|
# We're patching configure.ac
|
|
XMLSTARLET_AUTORECONF = YES
|
|
|
|
XMLSTARLET_DEPENDENCIES += libxml2 libxslt \
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
XMLSTARLET_CONF_OPTS += \
|
|
--with-libxml-prefix=${STAGING_DIR}/usr \
|
|
--with-libxslt-prefix=${STAGING_DIR}/usr \
|
|
--with-libiconv-prefix=${STAGING_DIR}/usr
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
XMLSTARLET_CONF_OPTS += --enable-static-libs
|
|
else
|
|
XMLSTARLET_CONF_OPTS += --disable-static-libs
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|