diff --git a/ext/jasmine-webkit-specrunner/extconf.rb b/ext/jasmine-webkit-specrunner/extconf.rb index ee09069..cbc77ca 100644 --- a/ext/jasmine-webkit-specrunner/extconf.rb +++ b/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}