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 6d56c34
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,11 @@
MakeMakefile.send(:remove_const, :EXPORT_PREFIX)
MakeMakefile::EXPORT_PREFIX = nil

# COUTFLAG is not set correctly on jruby
# See https://github.com/jruby/jruby/issues/5749
if RUBY_PLATFORM == 'java'
MakeMakefile.send(:remove_const, :COUTFLAG)
MakeMakefile::COUTFLAG = '-o $(empty)'
end

create_makefile 'sassc/libsass'

0 comments on commit 6d56c34

Please sign in to comment.