Skip to contentSkip to conversation

package/uftp: Fix compilation with openssl

PATCH New Vadim Kochan 2 participants 2 messages Mar 25, 2019 – Mar 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
---
 package/uftp/uftp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/uftp/uftp.mk +1 -1
index abdb0a4def..edf22cf5ce 100644
@@ -11,7 +11,7 @@ UFTP_LICENSE_FILES = LICENSE.txt
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 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
 UFTP_MAKE_OPTS += NO_ENCRYPTION=1
 endif
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 package/uftp: Fix compilation with openssl

Quoted 10 lines · On Tue, 26 Mar 2019 01:42:37 +0200 Vadim Kochan <[email protected]> wrote:

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
---
 package/uftp/uftp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com