package/uftp: fix compilation with openssl
Build fails with -lssl but succeeds with -lcrypto, also thats how it is linked by default in 'makefile'. Fixes: http://autobuild.buildroot.net/results/01a455ddcbc16cd2111352d22bf6603842df4ab2 Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
3dc3b4c279
commit
aaca916874
@ -11,7 +11,7 @@ UFTP_LICENSE_FILES = LICENSE.txt
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
UFTP_DEPENDENCIES += host-pkgconf openssl
|
UFTP_DEPENDENCIES += host-pkgconf openssl
|
||||||
UFTP_MAKE_OPTS += CRYPT_LIB="`$(PKG_CONFIG_HOST_BINARY) --libs libssl`"
|
UFTP_MAKE_OPTS += CRYPT_LIB="`$(PKG_CONFIG_HOST_BINARY) --libs libcrypto`"
|
||||||
else
|
else
|
||||||
UFTP_MAKE_OPTS += NO_ENCRYPTION=1
|
UFTP_MAKE_OPTS += NO_ENCRYPTION=1
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user