Skip to content

Commit

Permalink
Don't try to link universal extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 4, 2021
1 parent 9192212 commit 3d1a49e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/nio4r/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@

CONFIG["optflags"] << " -fno-strict-aliasing" unless RUBY_PLATFORM =~ /mswin/

if RUBY_PLATFORM =~ /darwin/
$DLDFLAGS.gsub!(/\-arch\s+[^\s]+/, "")
end

dir_config "nio4r_ext"
create_makefile "nio4r_ext"

0 comments on commit 3d1a49e

Please sign in to comment.