Skip to content

Commit

Permalink
should fix # 47 hyperic#52
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhanyin committed Aug 27, 2024
1 parent aec7cc1 commit b142e0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bindings/ruby/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
end
$CPPFLAGS += ' -DDARWIN'
$LDFLAGS += ' -framework CoreServices -framework IOKit'

# only for Yosemite
if ENV['_system_version'] =~ /\A10\.10/
cc = ENV['CC'] || %x(which clang).chop
CONFIG['CC']= cc
end
when /bsd/
os = 'darwin'
have_library("kvm")
Expand Down

0 comments on commit b142e0a

Please sign in to comment.