Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions ext/expand/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
INCLUDEDIR = RbConfig::CONFIG['includedir']

HEADER_DIRS = [
# First search /opt/local for macports
# Check Apple Silicon Homebrew path first
'/opt/homebrew/include',

# Then search /opt/local for macports
'/opt/local/include',

# Then search /usr/local for people that installed from source
Expand All @@ -19,7 +22,10 @@
]

LIB_DIRS = [
# First search /opt/local for macports
# Check Apple Silicon Homebrew path first
'/opt/homebrew/lib',

# Then search /opt/local for macports
'/opt/local/lib',

# Then search /usr/local for people that installed from source
Expand Down
10 changes: 8 additions & 2 deletions ext/parser/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
INCLUDEDIR = RbConfig::CONFIG['includedir']

HEADER_DIRS = [
# First search /opt/local for macports
# Check Apple Silicon Homebrew path first
'/opt/homebrew/include',

# Then search /opt/local for macports
'/opt/local/include',

# Then search /usr/local for people that installed from source
Expand All @@ -19,7 +22,10 @@
]

LIB_DIRS = [
# First search /opt/local for macports
# Check Apple Silicon Homebrew path first
'/opt/homebrew/lib',

# Then search /opt/local for macports
'/opt/local/lib',

# Then search /usr/local for people that installed from source
Expand Down