build/cplusplus_support.rb in passenger-4.0.48 vs build/cplusplus_support.rb in passenger-4.0.49

- old
+ new

@@ -1,7 +1,7 @@ # Phusion Passenger - https://www.phusionpassenger.com/ -# Copyright (c) 2010-2013 Phusion +# Copyright (c) 2010-2014 Phusion # # "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -85,10 +85,10 @@ if PlatformInfo.os_name == "macosx" shlib_flag = "-flat_namespace -bundle -undefined dynamic_lookup" else shlib_flag = "-shared" end - if PhusionPassenger::PlatformInfo.cc_is_sun_studio? + if PhusionPassenger::PlatformInfo.cxx_is_sun_studio? fPIC = "-KPIC" else fPIC = "-fPIC" end run_compiler "#{CXX} #{shlib_flag} #{sources} #{fPIC} -o #{target} #{flags}"