From a64967d32dc50d72b6bbb5f7037e7c2fbceb0a0c Mon Sep 17 00:00:00 2001 From: John McCrae Date: Tue, 7 May 2024 14:44:10 -0700 Subject: [PATCH] Tracking down the missing openssl.so file Signed-off-by: John McCrae --- config/software/openssl.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/software/openssl.rb b/config/software/openssl.rb index 8f7bd0122..3e18e2b34 100644 --- a/config/software/openssl.rb +++ b/config/software/openssl.rb @@ -246,6 +246,11 @@ msys_path = ENV["MSYS2_INSTALL_DIR"] ? "#{ENV["MSYS2_INSTALL_DIR"]}" : "#{ENV["OMNIBUS_TOOLCHAIN_INSTALL_DIR"]}/embedded/bin" if windows? + + %w{ openssl.so }.each do |file| + delete "#{install_dir}/embedded/bin/#{file}" + end + %w{ openssl.so libcrypto-3-x64.dll libssl-3-x64.dll openssl.exe }.each do |file| copy "#{msys_path}/usr/local/bin/#{file}", "#{install_dir}/embedded/bin/#{file}" end @@ -254,7 +259,8 @@ copy "#{msys_path}/usr/local/lib64/ossl-modules/#{file}", "#{install_dir}/embedded/bin/#{file}" end - + + # command "powershell.exe -Command {New-Item -Directory -Path c:\\hold}" # command "powershell.exe -Command {$Foo = Get-Childitem -path c:\\ -file openssl.so -recurse -ErrorAction SilentlyContinue; Write-Host 'Here are the openssl.so files:'; Write-Host $Foo}" # command "puts 'Here is the listing of openssl.so files:'"