Update lib/metasploit/framework/compiler/mingw.rb
Review made by @adfoster-r7 and tested by @ARaout Co-authored-by: adfoster-r7 <60357436+adfoster-r7@users.noreply.github.com>
This commit is contained in:
parent
9d315af25e
commit
0b320f6209
|
@ -36,7 +36,7 @@ module Metasploit
|
|||
cmd << "#{src_file} -I #{INCLUDE_DIR} "
|
||||
if self.include_dirs
|
||||
cmd << " #{self.include_dirs} "
|
||||
end
|
||||
cmd << "#{self.include_dirs.map { |include_dir| "-iquote #{include_dir}" }.join(' ')} " if self.include_dirs.any?
|
||||
cmd << "-o #{exe_file} "
|
||||
|
||||
# gives each function its own section
|
||||
|
|
Loading…
Reference in New Issue