Skip to content

Commit

Permalink
Fix JRuby compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed May 29, 2019
1 parent 9309858 commit 9de3520
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,10 @@
MakeMakefile.send(:remove_const, :EXPORT_PREFIX)
MakeMakefile::EXPORT_PREFIX = nil

# COUTFLAG is not set correctly on jruby
if RUBY_PLATFORM == 'jruby'
MakeMakefile.send(:remove_const, :COUTFLAG)
MakeMakefile::COUTFLAG = '-o $(empty)'
end

create_makefile 'sassc/libsass'

0 comments on commit 9de3520

Please sign in to comment.