aboutsummaryrefslogtreecommitdiffstats
path: root/nacl/nacl-config.rb
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-21 15:23:21 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-21 15:23:21 +0000
commit165221441c462b8feccefaebc70499765d3f710e (patch)
treeccdde65e28c5905a2eb35beb25a90f77225cbbe6 /nacl/nacl-config.rb
parentc2638a81cf9a3e1d476799261b46da35fc836dc1 (diff)
downloadruby-165221441c462b8feccefaebc70499765d3f710e.tar.gz
Enable nacl_io in pepper-ruby.
* configure.in (XCFLAGS): Add include path for NaCl libraries. (XLDFLAGS): ditto. (NACL_LIB_PATH): new stubstitution * nacl/nacl-config.rb: support NACL_LIB_PATH * nacl/package.rb: ditto. * nacl/pepper_main.c: replace old implementations with nacl_io. * nacl/GNUmakefile.in: link nacl_io to pepper_ruby * ruby.c (rb_load_file): remove __attribute__((weak)) because the old override hack was replaced with nacl_io. * file.c (rb_file_load_ok): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'nacl/nacl-config.rb')
-rwxr-xr-xnacl/nacl-config.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/nacl/nacl-config.rb b/nacl/nacl-config.rb
index 732de1dee3..66481301f5 100755
--- a/nacl/nacl-config.rb
+++ b/nacl/nacl-config.rb
@@ -24,6 +24,8 @@ module NaClConfig
].find{|path| File.exist?(path) } or raise "No create_nmf found"
HOST_LIB = File.join(SDK_ROOT, 'toolchain', config['NACL_TOOLCHAIN'], HOST, "lib#{lib_suffix}")
+ NACL_LIB = File.join(SDK_ROOT, 'lib', config['NACL_LIB_PATH'], 'Release')
+
INSTALL_PROGRAM = config['INSTALL_PROGRAM']
INSTALL_LIBRARY = config['INSTALL_DATA']