diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-21 15:23:21 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-21 15:23:21 +0000 |
commit | 165221441c462b8feccefaebc70499765d3f710e (patch) | |
tree | ccdde65e28c5905a2eb35beb25a90f77225cbbe6 /nacl/package.rb | |
parent | c2638a81cf9a3e1d476799261b46da35fc836dc1 (diff) |
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/package.rb')
-rw-r--r-- | nacl/package.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nacl/package.rb b/nacl/package.rb index f4f50f24ed..9ba95888c4 100644 --- a/nacl/package.rb +++ b/nacl/package.rb @@ -15,7 +15,11 @@ include NaClConfig class Installation include NaClConfig - SRC_DIRS = [ Dir.pwd, HOST_LIB ] + SRC_DIRS = [ + Dir.pwd, + HOST_LIB, + NACL_LIB, + ] def initialize(destdir) @destdir = destdir |