Skip to content

Commit

Permalink
found the fips.dll path and now correctly moving it to the package fo…
Browse files Browse the repository at this point in the history
…lder

Signed-off-by: John McCrae <john.mccrae@progress.com>
  • Loading branch information
johnmccrae committed May 2, 2024
1 parent 0043b68 commit 634f42b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/software/openssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,14 @@
msys_path = ENV["MSYS2_INSTALL_DIR"] ? "#{ENV["MSYS2_INSTALL_DIR"]}" : "#{ENV["OMNIBUS_TOOLCHAIN_INSTALL_DIR"]}/embedded/bin"

if windows?
%w{ fips.dll openssl.so libcrypto-3-x64.dll libssl-3-x64.dll openssl.exe }.each do |file|
%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

%w{ fips.dll }.each do |file|
copy "#{msys_path}/usr/local/lib64/ossl-modules/#{file}", "#{install_dir}/embedded/bin/#{file}"
end

# # Needed now that we switched to msys2 and have not figured out how to tell
# # it how to statically link yet
# dlls = [
Expand Down

0 comments on commit 634f42b

Please sign in to comment.