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