Top Level Namespace

Defined Under Namespace

Modules: Glacier2, Ice, IceBox, IceGrid, IceMX, IcePatch2, IceStorm

Instance Method Summary collapse

Instance Method Details

#filter(f) ⇒ Object



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'ext/extconf.rb', line 74

def filter(f)
    #
    # Filter IceSSL sources that doesn't match current OS default
    # implementation
    #
    if f.start_with?("SChannel") or f.start_with?("UWP")
        return false
    end
    if RUBY_PLATFORM =~ /darwin/ and f.start_with?("OpenSSL")
        return false
    end
    if !(RUBY_PLATFORM =~ /darwin/) and f.start_with?("SecureTransport")
         return false
    end
    return true
end