Permalink
Browse files

Merge pull request #24 from ramonmaruko/linux-compile-error

Fix: g++: error: unrecognized option '-h'
  • Loading branch information...
2 parents 00c4a30 + 675e958 commit e9a9a7914209ad9c1138002ad30f8ee4bb217eeb @johnbintz johnbintz committed Jun 22, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 ext/jasmine-webkit-specrunner/extconf.rb
View
8 ext/jasmine-webkit-specrunner/extconf.rb
@@ -1,2 +1,8 @@
-system %{qmake -spec macx-g++}
+case RUBY_PLATFORM
+when /linux/
+ system %{qmake -spec linux-g++}
+else
+ system %{qmake -spec macx-g++}
+end
+
system %{make}

0 comments on commit e9a9a79

Please sign in to comment.