Update gcc path for Solaris

GSoC/Meterpreter_Web_Console
Brendan Coles 2018-09-16 17:22:38 +00:00
parent b76849d64e
commit 28f23a842a
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ module System
def has_gcc?
# /usr/sfw/bin - default gcc path on some systems
# /opt/sfw/bin - default gcc path for gcc package
command_exists?('gcc') || command_exists?('/usr/sfw/bin/gcc') || command_exists?('/opt/sfw/bin/gcc')
# /opt/csw/bin - default gcc path for OpenCSW gcc package
command_exists?('gcc') || command_exists?('/usr/sfw/bin/gcc') || command_exists?('/opt/sfw/bin/gcc') || command_exists?('/opt/csw/bin/gcc')
rescue
raise 'Unable to check for gcc'
end