Skip to content

Commit

Permalink
fix build in funky environments
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmario committed May 11, 2014
1 parent fbd3503 commit 970f93f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/charlock_holmes/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def sys(cmd)

dir_config 'icu'

rubyopt = ENV.delete("RUBYOPT")
# detect homebrew installs
if !have_library 'icui18n'
base = if !`which brew`.empty?
Expand Down Expand Up @@ -52,4 +53,5 @@ def sys(cmd)
$CFLAGS << ' -Wall -funroll-loops'
$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG']

ENV['RUBYOPT'] = rubyopt
create_makefile 'charlock_holmes/charlock_holmes'

0 comments on commit 970f93f

Please sign in to comment.