diff --git a/build.win32x86/third-party/Makefile.openssl b/build.win32x86/third-party/Makefile.openssl index 9142028e3e..8567a48ecb 100644 --- a/build.win32x86/third-party/Makefile.openssl +++ b/build.win32x86/third-party/Makefile.openssl @@ -21,7 +21,6 @@ $(OPENSSLARCHIVE): $(THIRDPARTYLIBDIR)/$(OPENSSLLIBNAME): $(OPENSSLARCHIVE) tar x -f $(OPENSSLARCHIVE) -C $(THIRDPARTYDIR) - sed -i 's/symlink/copy/g' $(OPENSSLDIR)/util/mklink.pl cd $(OPENSSLDIR) \ && CC='$(CC)' \ LD='$(LD)' \ @@ -31,7 +30,7 @@ $(THIRDPARTYLIBDIR)/$(OPENSSLLIBNAME): $(OPENSSLARCHIVE) DLLWRAP='$(DLLWRAP)' \ ./Configure mingw --prefix='$(THIRDPARTYOUTDIR)' shared $(THIRDPARTY_CFLAGS) \ && make \ - && make install + && make install_sw # Assuming building ssleay32.dll will also build libeay32.dll $(OPENSSLLIB): $(THIRDPARTYLIBDIR)/$(OPENSSLLIBNAME) diff --git a/build.win64x64/pharo.stack.spur/Makefile b/build.win64x64/pharo.stack.spur/Makefile index c72d2c67be..a1a8c549d1 100644 --- a/build.win64x64/pharo.stack.spur/Makefile +++ b/build.win64x64/pharo.stack.spur/Makefile @@ -17,7 +17,7 @@ include ../common/Makefile # include ../third-party/Makefile.pkgconfig include ../third-party/Makefile.freetype2 -include ../third-party/Makefile.openssl +include ../third-party/Makefile.openssl.win64 include ../third-party/Makefile.libssh2 include ../third-party/Makefile.libgit2 include ../third-party/Makefile.libsdl2 diff --git a/build.win64x64/third-party/Makefile.openssl b/build.win64x64/third-party/Makefile.openssl index 99b2ccff2e..19119cd5d8 100644 --- a/build.win64x64/third-party/Makefile.openssl +++ b/build.win64x64/third-party/Makefile.openssl @@ -1,7 +1,7 @@ ifndef THIRDPARTYDIR include ../common/Makefile.lib.extra endif -include ../../third-party/openssl.spec +include ../../third-party/openssl.spec.win64 # plugin definitions OPENSSLURL:=$(openssl_spec_download_url) @@ -20,10 +20,7 @@ $(OPENSSLARCHIVE): $(WGET) -O $(OPENSSLARCHIVE) $(OPENSSLURL) $(THIRDPARTYLIBDIR)/$(OPENSSLLIBNAME): $(OPENSSLARCHIVE) - @echo "ESTEBAN: ENTER" tar x -f $(OPENSSLARCHIVE) -C $(THIRDPARTYDIR) - sed -i 's/symlink/copy/g' $(OPENSSLDIR)/util/mklink.pl - sed -i 's/ln -s/cp/g' $(OPENSSLDIR)/util/point.sh cd $(OPENSSLDIR) \ && CC=x86_64-w64-mingw32-gcc \ AR=x86_64-w64-mingw32-ar \ @@ -33,7 +30,7 @@ $(THIRDPARTYLIBDIR)/$(OPENSSLLIBNAME): $(OPENSSLARCHIVE) DLLTOOL='$(DLLTOOL)' \ DLLWRAP='$(DLLWRAP)' \ ./Configure mingw64 --prefix='$(THIRDPARTYOUTDIR)' shared $(THIRDPARTY_CFLAGS) \ - && make build_libs build_apps build_tools \ + && make \ && make install_sw # Assuming building ssleay32.dll will also build libeay32.dll diff --git a/third-party/openssl.spec b/third-party/openssl.spec index ff1027b74e..5dec36e047 100644 --- a/third-party/openssl.spec +++ b/third-party/openssl.spec @@ -1,11 +1,11 @@ -openssl_spec_download_url:=https://www.openssl.org/source/openssl-1.0.2q.tar.gz -openssl_spec_archive_name:=openssl-1.0.2q.tar.gz -openssl_spec_unpack_dir_name:=openssl-1.0.2q -openssl_spec_product1_name_macOS:=libssl.1.0.0.dylib -openssl_spec_product2_name_macOS:=libcrypto.1.0.0.dylib -openssl_spec_product1_name_linux:=libssl.so.1.0.0 -openssl_spec_product2_name_linux:=libcrypto.so.1.0.0 -openssl_spec_product1_name_windows:=ssleay32.dll -openssl_spec_product2_name_windows:=libeay32.dll +openssl_spec_download_url:=https://www.openssl.org/source/openssl-1.1.1f.tar.gz +openssl_spec_archive_name:=openssl-1.1.1f.tar.gz +openssl_spec_unpack_dir_name:=openssl-1.1.1f +openssl_spec_product1_name_macOS:=libssl.1.1.dylib +openssl_spec_product2_name_macOS:=libcrypto.1.1.dylib +openssl_spec_product1_name_linux:=libssl.so.1.1 +openssl_spec_product2_name_linux:=libcrypto.so.1.1 +openssl_spec_product1_name_windows:=libssl-1_1.dll +openssl_spec_product2_name_windows:=libcrypto-1_1.dll openssl_spec_symlinks_macOS:=libssl*.dylib libcrypto*.dylib openssl_spec_symlinks_linux:=libssl.so* libcrypto.so* diff --git a/third-party/openssl.spec.win64 b/third-party/openssl.spec.win64 new file mode 100644 index 0000000000..b964d9977a --- /dev/null +++ b/third-party/openssl.spec.win64 @@ -0,0 +1,11 @@ +openssl_spec_download_url:=https://www.openssl.org/source/openssl-1.1.1f.tar.gz +openssl_spec_archive_name:=openssl-1.1.1f.tar.gz +openssl_spec_unpack_dir_name:=openssl-1.1.1f +openssl_spec_product1_name_macOS:=libssl.1.1.dylib +openssl_spec_product2_name_macOS:=libcrypto.1.1.dylib +openssl_spec_product1_name_linux:=libssl.so.1.1 +openssl_spec_product2_name_linux:=libcrypto.so.1.1 +openssl_spec_product1_name_windows:=libssl-1_1-x64.dll +openssl_spec_product2_name_windows:=libcrypto-1_1-x64.dll +openssl_spec_symlinks_macOS:=libssl*.dylib libcrypto*.dylib +openssl_spec_symlinks_linux:=libssl.so* libcrypto.so*