Skip to content

Commit

Permalink
Tracking down the missing openssl.so file
Browse files Browse the repository at this point in the history
Signed-off-by: John McCrae <[email protected]>
  • Loading branch information
johnmccrae committed May 7, 2024
1 parent 7c1b7ec commit a64967d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/software/openssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:'"
Expand Down

0 comments on commit a64967d

Please sign in to comment.