    # File lib/phusion_passenger/platform_info/compiler.rb, line 179
            def self.portability_ldflags
                    if RUBY_PLATFORM =~ /solaris/
                            result = '-lxnet -lrt -lsocket -lnsl -lpthread'
                    else
                            result = '-lpthread'
                    end
                    flags << ' -lmath' if has_math_library?
                    return result
            end