Permalink
Browse files

Remove OS X configure hacks

  • Loading branch information...
1 parent 89306af commit 4d03b21824abbbaab1cd4546a9a9b45ab6903814 @guns committed Oct 31, 2013
Showing with 0 additions and 13 deletions.
  1. +0 −13 Rakefile
View
@@ -9,19 +9,6 @@ task :default => :build
task :env do
ENV['CFLAGS' ] ||= ' -I%s ' % RbConfig::CONFIG['rubyhdrdir']
ENV['LDFLAGS'] ||= ''
-
- if RUBY_PLATFORM =~ /darwin/i
- # Homebrew linking help
- if system "/bin/sh -c 'command -v brew' &>/dev/null"
- %w[libgcrypt libgpg-error gettext gnutls].each do |pkg|
- cellar = %x(brew --prefix #{pkg}).chomp
- ENV['CFLAGS' ] += " -I#{cellar}/include "
- ENV['LDFLAGS'] += " -L#{cellar}/lib "
- end
- ENV['CFLAGS' ] += ' -DHAVE_GNUTLS '
- ENV['LDFLAGS'] += ' -liconv -lgnutls '
- end
- end
end
desc 'Invoke cmake'

0 comments on commit 4d03b21

Please sign in to comment.