From 19f64e40dbedc37bb362300c028a5d74621677fa Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 7 Apr 2019 12:54:34 +0100 Subject: Don't build OpenSSL for m68k-amigaos skip the build but mark the build step as complete because Curl needs it. Issues: Curl won't see AmiSSL as the includes alone are not enough to trick it. Creating dummy libssl.a libcrypto.a nearly works but still chokes as the test programs don't include anything so the AmiSSL inlines don't get opened. Solution might be to build a dummy libssl.a which redirects the needed functions. There's an issue with amissl/inline.h with the latest includes (hack #define it so it doesn't try - may cause other problems later but this is not where the troublesome SSL_connect() is defined) --- sdk/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/Makefile b/sdk/Makefile index e546e10..383e842 100644 --- a/sdk/Makefile +++ b/sdk/Makefile @@ -350,8 +350,10 @@ $(SOURCEDIR)/pbl_$(VERSION_LIBPBL).tar.gz: # OpenSSL $(BUILDSTEPS)/openssl.d: $(BUILDSTEPS)/builddir.d $(BUILDSTEPS)/zlib.d $(BUILDSTEPS)/openssl-src.d +ifneq ($(TARGET),m68k-unknown-amigaos) cd $(BUILDDIR)/openssl/openssl-$(VERSION_OPENSSL) && $(env) ./Configure --prefix=$(GCCSDK_INSTALL_ENV) $(TARGET) no-shared no-threads $(EXTRAARGS_OPENSSL) cd $(BUILDDIR)/openssl/openssl-$(VERSION_OPENSSL) && $(env) make install +endif touch $@ # prepare the openssl source tree -- cgit v1.2.3