diff options
| author | MATSUMOTO Ryosuke <[email protected]> | 2013-01-05 15:12:42 +0900 |
|---|---|---|
| committer | MATSUMOTO Ryosuke <[email protected]> | 2013-01-05 15:12:42 +0900 |
| commit | f6bc6b7692b307b411767ebb748aa428728c4e61 (patch) | |
| tree | cd76bf4e3047e849ed237af91c79b01b65a0ff85 /tools | |
| parent | fe954098b30bc5cec1c0576831b12d089ccc188b (diff) | |
| download | mruby-f6bc6b7692b307b411767ebb748aa428728c4e61.tar.gz mruby-f6bc6b7692b307b411767ebb748aa428728c4e61.zip | |
Add mruby_ldflags when tools/mruby and tools/mrbc link archive files
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mrbc/mrbc.rake | 4 | ||||
| -rw-r--r-- | tools/mruby/mruby.rake | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/mrbc/mrbc.rake b/tools/mrbc/mrbc.rake index 4cca63b6f..c28d652d9 100644 --- a/tools/mrbc/mrbc.rake +++ b/tools/mrbc/mrbc.rake @@ -5,6 +5,6 @@ MRuby.each_target do objs = Dir.glob("#{dir}/*.{c}").map { |f| f.pathmap("#{build_dir}/%X.o") } file exec => objs + ["#{build_dir}/lib/libmruby_core.a"] do |t| - link t.name, t.prerequisites, [], gems.map { |g| g.mruby_libs } + link t.name, t.prerequisites, gems.map { |g| g.mruby_ldflags }, gems.map { |g| g.mruby_libs } end -end
\ No newline at end of file +end diff --git a/tools/mruby/mruby.rake b/tools/mruby/mruby.rake index 4159fadfd..162e8d1ba 100644 --- a/tools/mruby/mruby.rake +++ b/tools/mruby/mruby.rake @@ -5,6 +5,6 @@ MRuby.each_target do objs = Dir.glob("#{dir}/*.{c}").map { |f| f.pathmap("#{build_dir}/%X.o") } file exec => objs + ["#{build_dir}/lib/libmruby.a"] do |t| - link t.name, t.prerequisites, [], gems.map { |g| g.mruby_libs } + link t.name, t.prerequisites, gems.map { |g| g.mruby_ldflags }, gems.map { |g| g.mruby_libs } end -end
\ No newline at end of file +end |
