Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Need to space-separate, quote, and use -I for $INCFLAGS

  • Loading branch information...
commit 838a2b2c297bc507450978ba08a40e4feb7391f5 1 parent 9f39e65
@jfirebaugh jfirebaugh authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/18/mkmf.rb
  2. +1 −1  lib/19/mkmf.rb
View
2  lib/18/mkmf.rb
@@ -1722,7 +1722,7 @@ def init_mkmf(config = CONFIG)
# that built in extensions will also find them if they have been configured
# at build time for Rubinius.
Rubinius::BUILD_CONFIG[:include_dirs].each do |inc|
- $INCFLAGS << inc
+ $INCFLAGS << " -I#{inc.quote}"
end
Rubinius::BUILD_CONFIG[:lib_dirs].each do |lib|
$DEFLIBPATH << lib
View
2  lib/19/mkmf.rb
@@ -2168,7 +2168,7 @@ def init_mkmf(config = CONFIG, rbconfig = RbConfig::CONFIG)
# that built in extensions will also find them if they have been configured
# at build time for Rubinius.
Rubinius::BUILD_CONFIG[:include_dirs].each do |inc|
- $INCFLAGS << inc
+ $INCFLAGS << " -I#{inc.quote}"
end
Rubinius::BUILD_CONFIG[:lib_dirs].each do |lib|
$DEFLIBPATH << lib
Please sign in to comment.
Something went wrong with that request. Please try again.