Skip to content

Commit

Permalink
MSI: do not remove dll.a for C extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Jul 10, 2020
1 parent efffaa7 commit 0ca78dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion td-agent/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,11 @@ class BuildTask
remove_files("ext/**/.libs", true)
end
end
remove_files("#{td_agent_staging_dir}/lib/lib*.a")
Dir.glob("#{td_agent_staging_dir}/lib/lib*.a").each do |static_library|
unless static_library.end_with?("dll.a")
rm_f(static_library)
end
end
end
end

Expand Down

0 comments on commit 0ca78dc

Please sign in to comment.