package/capnproto: add openssl optional dependency
openssl is an optional dependency that is enabled by default since version 0.7.0 and23db5e3fd9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commitc20798bca2
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
0c0356e86c
commit
0567bb15cd
@ -21,5 +21,12 @@ endif
|
||||
# The actual source to be compiled is within a 'c++' subdirectory
|
||||
CAPNPROTO_SUBDIR = c++
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
CAPNPROTO_CONF_OPTS += --with-openssl
|
||||
CAPNPROTO_DEPENDENCIES += openssl
|
||||
else
|
||||
CAPNPROTO_CONF_OPTS += --without-openssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user