Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Fix: g++: error: unrecognized option '-h'
  • Loading branch information...
commit e9a9a7914209ad9c1138002ad30f8ee4bb217eeb 2 parents 00c4a30 + 675e958
John Bintz johnbintz authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 ext/jasmine-webkit-specrunner/extconf.rb
8 ext/jasmine-webkit-specrunner/extconf.rb
View
@@ -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.