Modified includes to use ruby runtime path

Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/b676981f
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/b676981f
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/b676981f

Branch: refs/heads/master
Commit: b676981f999d7f8fc973ee4a2b084549525ef6c8
Parents: 6de595f
Author: Logan Bell <[email protected]>
Authored: Sat Feb 9 15:29:02 2013 -0800
Committer: Logan Bell <[email protected]>
Committed: Sat Feb 9 15:48:12 2013 -0800

----------------------------------------------------------------------
 clownfish/compiler/ruby/ext/Clownfish/extconf.rb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/b676981f/clownfish/compiler/ruby/ext/Clownfish/extconf.rb
----------------------------------------------------------------------
diff --git a/clownfish/compiler/ruby/ext/Clownfish/extconf.rb 
b/clownfish/compiler/ruby/ext/Clownfish/extconf.rb
index 8c809df..583fe9e 100644
--- a/clownfish/compiler/ruby/ext/Clownfish/extconf.rb
+++ b/clownfish/compiler/ruby/ext/Clownfish/extconf.rb
@@ -3,7 +3,8 @@ require 'rbconfig'
 
 CLOWNFISH_INCLUDE_DIR   = File.join('..','..','..','include')
 CLOWNFISH_SRC_DIR       = File.join('..','..','..','src')
-$CFLAGS = "-I#{CLOWNFISH_INCLUDE_DIR} -I#{CLOWNFISH_SRC_DIR}"
+CLOWNFISH_RUNTIME       = File.join('..','..','..','..','runtime','ruby')
+$CFLAGS = "-I#{CLOWNFISH_INCLUDE_DIR} -I#{CLOWNFISH_SRC_DIR} 
-I#{CLOWNFISH_RUNTIME}"
 $objs = ['CFC.' + RbConfig::CONFIG['OBJEXT']]
 obj_glob = File.join(CLOWNFISH_SRC_DIR, '*.' + RbConfig::CONFIG['OBJEXT'])
 Dir.glob(obj_glob).each do|o|

Reply via email to