mirror of
https://github.com/openbabel/openbabel.git
synced 2025-02-25 18:55:23 -06:00
Config -> RbConfig
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Compensate for the fact that Ruby will try to build universal
|
||||
# binaries on OS X by default
|
||||
require 'rbconfig'
|
||||
if Config::CONFIG["arch"] =~ /universal-darwin/
|
||||
if RbConfig::CONFIG["arch"] =~ /universal-darwin/
|
||||
ENV['ARCHFLAGS'] = case `uname -smr`.chomp
|
||||
when "i386" then '-arch i386'
|
||||
when "ppc" then '-arch ppc'
|
||||
|
||||
Reference in New Issue
Block a user