Permalink
Browse files

Fix: g++: error: unrecognized option '-h'

  • Loading branch information...
1 parent 00c4a30 commit 675e958b66ca834594820ad53b4e191daa3df604 @ramonmaruko ramonmaruko committed Jun 21, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 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 675e958

Please sign in to comment.