mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
libeXosip2: fix openssl handling
Build libeXosip2 after openssl if enabled, and explicitly disable support for it otherwise, so configure doesn't end up looking for it on host. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
62c10600ab
commit
d8ce8742e2
@ -11,6 +11,13 @@ LIBEXOSIP2_INSTALL_STAGING = YES
|
|||||||
|
|
||||||
LIBEXOSIP2_DEPENDENCIES = host-pkg-config libosip2
|
LIBEXOSIP2_DEPENDENCIES = host-pkg-config libosip2
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
|
LIBEXOSIP2_DEPENDENCIES += openssl
|
||||||
|
LIBEXOSIP2_CONF_OPT += --enable-openssl
|
||||||
|
else
|
||||||
|
LIBEXOSIP2_CONF_OPT += --disable-openssl
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBEXOSIP2_PATCH),)
|
ifneq ($(LIBEXOSIP2_PATCH),)
|
||||||
define LIBEXOSIP2_DEBIAN_PATCHES
|
define LIBEXOSIP2_DEBIAN_PATCHES
|
||||||
if [ -d $(@D)/debian/patches ]; then \
|
if [ -d $(@D)/debian/patches ]; then \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user