Skip to content

Commit

Permalink
portable-formula: use -fPIC by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Oct 20, 2021
1 parent 25d5975 commit 930870f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Abstract/portable-formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ def install
ENV.delete "TERMINFO_DIRS"
ENV.delete "HOMEBREW_RPATH_PATHS"
ENV.delete "HOMEBREW_DYNAMIC_LINKER"

# https://github.com/Homebrew/homebrew-portable-ruby/issues/118
ENV.append_to_cflags "-fPIC"
end

super
Expand Down

0 comments on commit 930870f

Please sign in to comment.