2f67573373
- Add a call to PKG_CHECK_MODULES in configure.ac to get openssl libraries and its dependencies if openssl support is enabled - Add OPENSSL_LIBS to libupnp.pc.in so that applications linking with pupnp (such as mpd) will be able to retrieve openssl libraries Fixes: - http://autobuild.buildroot.org/results/a4148e516070b79816769f3443fc24d6d8192073 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
767 B
Makefile
25 lines
767 B
Makefile
################################################################################
|
|
#
|
|
# libupnp18
|
|
#
|
|
################################################################################
|
|
|
|
LIBUPNP18_VERSION = 1.8.4
|
|
LIBUPNP18_SOURCE = libupnp-$(LIBUPNP18_VERSION).tar.bz2
|
|
LIBUPNP18_SITE = http://downloads.sourceforge.net/project/pupnp/pupnp/libupnp-$(LIBUPNP18_VERSION)
|
|
LIBUPNP18_CONF_ENV = ac_cv_lib_compat_ftime=no
|
|
LIBUPNP18_INSTALL_STAGING = YES
|
|
LIBUPNP18_LICENSE = BSD-3-Clause
|
|
LIBUPNP18_LICENSE_FILES = COPYING
|
|
# We're patching configure.ac
|
|
LIBUPNP18_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBUPNP18_CONF_OPTS += --enable-open-ssl
|
|
LIBUPNP18_DEPENDENCIES += host-pkgconf openssl
|
|
else
|
|
LIBUPNP18_CONF_OPTS += --disable-open-ssl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|