Top Level Namespace

Defined Under Namespace

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

Instance Method Summary collapse

Instance Method Details

#filter(f) ⇒ Object



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'ext/extconf.rb', line 66

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