Skip to content
Browse files

Fix extensions, again.

  • Loading branch information...
1 parent 2cd3baf commit d443e0ac1e1dd627596b2b78b496abfaca81bf69 @whitequark committed Nov 18, 2012
Showing with 5 additions and 6 deletions.
  1. +2 −5 cyberplat_pki.gemspec
  2. +3 −1 ext/mock_the_clock/extconf.rb
View
7 cyberplat_pki.gemspec
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |gem|
gem.name = "cyberplat_pki"
- gem.version = "2.0.3"
+ gem.version = "2.0.4"
gem.authors = ["Peter Zotov"]
gem.email = ["whitequark@whitequark.org"]
gem.description = %q{CyberplatPKI is a library for signing Cyberplat requests.}
@@ -15,10 +15,7 @@ Gem::Specification.new do |gem|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
-
- if RUBY_PLATFORM =~ /linux/
- gem.extensions = ["ext/mock_the_clock/extconf.rb"]
- end
+ gem.extensions = ["ext/mock_the_clock/extconf.rb"]
gem.add_development_dependency "rspec"
gem.add_dependency 'digest-crc' # For CRC24
View
4 ext/mock_the_clock/extconf.rb
@@ -1 +1,3 @@
-system "make"
+if RUBY_PLATFORM =~ /linux/
+ system "make"
+end

0 comments on commit d443e0a

Please sign in to comment.
Something went wrong with that request. Please try again.