ROOT |
= |
File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) |
INCLUDEDIR |
= |
Config::CONFIG['includedir'] |
HEADER_DIRS |
= |
[ # First search /opt/local for macports '/opt/local/include', '/opt/local/include/libxml2', # Then search /usr/local for people that installed from source '/usr/local/include', '/usr/local/include/libxml2', # Check the ruby install locations INCLUDEDIR, File.join(INCLUDEDIR, "libxml2"), # Finally fall back to /usr '/usr/include', '/usr/include/libxml2', ] |
LIB_DIRS |
= |
[ # First search /opt/local for macports '/opt/local/lib', # Then search /usr/local for people that installed from source '/usr/local/lib', # Check the ruby install locations LIBDIR, # Finally fall back to /usr '/usr/lib', ] |