Skip to content

Instantly share code, notes, and snippets.

@Ch00k
Created August 28, 2013 18:14
Show Gist options
  • Select an option

  • Save Ch00k/6369326 to your computer and use it in GitHub Desktop.

Select an option

Save Ch00k/6369326 to your computer and use it in GitHub Desktop.
__rvm_setup_compile_environment_sunos()
{
[[ "$(uname -s)" == "SunOS" ]] || return 0
case "$1" in
ruby-1.9*|ruby-2*)
# Temporary solution for this bug http://bugs.ruby-lang.org/issues/5384
rvm_configure_flags+=( ac_cv_func_dl_iterate_phdr=no )
;;
esac
if __rvm_string_match "$1" "ruby-2.0.*"
then rvm_configure_env+=( bash )
fi
[[ "$(uname -v)" =~ ^Generic ]] || return 0
__rvm_update_configure_env AR="/opt/csw/bin/gar"
__rvm_update_configure_env MAKE="/opt/csw/bin/gmake"
return 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment