diff options
| author | KOBAYASHI Shuji <[email protected]> | 2020-11-26 18:43:40 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2020-11-26 19:05:07 +0900 |
| commit | 58ba883ee9a751268855dbe7bb336353204eaf91 (patch) | |
| tree | 59b65bd7298f0835806e9a1adb29ed9f88f36b18 /lib | |
| parent | 79af3f30b4a138d73adc13dff4cda5ec95d8f438 (diff) | |
| download | mruby-58ba883ee9a751268855dbe7bb336353204eaf91.tar.gz mruby-58ba883ee9a751268855dbe7bb336353204eaf91.zip | |
Create presym files for each build target
Previously, presym files were always created in `build/{presym,presym.inc}`.
However, this constraint is inconvenient because it is common to use
multiple build configurations and build targets in a single mruby tree.
Therefore, change to create presym file for each build target.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mruby/build.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/mruby/build.rb b/lib/mruby/build.rb index a03c5fefe..1ada8b657 100644 --- a/lib/mruby/build.rb +++ b/lib/mruby/build.rb @@ -373,6 +373,14 @@ EOS def libraries [libmruby_static] end + + def presym_file + "#{build_dir}/presym" + end + + def presym_inc + "#{build_dir}/include/mruby/presym.inc" + end end # Build class CrossBuild < Build |
