aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl/extconf.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 16:55:34 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 16:55:34 +0000
commit3deee712f5645d269b573b127ee1dd108e5d0e90 (patch)
tree749671e116b62b229a04205414d8ef8b86f0d918 /ext/dl/extconf.rb
parentc4eb738b7458c5f38153de5552a281de04586d4e (diff)
downloadruby-3deee712f5645d269b573b127ee1dd108e5d0e90.tar.gz
* ext/dl/mkcallback.rb: split callback.h to callback-[0-9].c to reduce
memory consumption on compilation. [ruby-dev:31898] * ext/dl/depend: add dependency for callback-[0-9].[co]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/extconf.rb')
-rw-r--r--ext/dl/extconf.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb
index abd8d8f781..8ba6c53d0d 100644
--- a/ext/dl/extconf.rb
+++ b/ext/dl/extconf.rb
@@ -25,6 +25,13 @@ else
check = false
end
+$objs = %w[
+ cfunc.o dl.o cptr.o handle.o
+ callback-0.o callback-1.o callback-2.o callback-3.o
+ callback-4.o callback-5.o callback-6.o callback-7.o
+ callback-8.o
+]
+
if check
$defs << %[-DRUBY_VERSION=\\"#{RUBY_VERSION}\\"]
create_makefile("dl")