Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 675e958b66ca834594820ad53b4e191daa3df604 1 parent 00c4a30
@ramonmaruko ramonmaruko authored
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}
Please sign in to comment.
Something went wrong with that request. Please try again.