summaryrefslogtreecommitdiff
path: root/ext/dl/callback/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/callback/extconf.rb')
-rw-r--r--ext/dl/callback/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/callback/extconf.rb b/ext/dl/callback/extconf.rb
index 6c3387670d6..f3b79b0a33f 100644
--- a/ext/dl/callback/extconf.rb
+++ b/ext/dl/callback/extconf.rb
@@ -1,6 +1,6 @@
require 'mkmf'
-if compiled?("dl")
+begin
callbacks = (0..8).map{|i| "callback-#{i}"}.unshift("callback")
callback_srcs = callbacks.map{|basename| "#{basename}.c"}
callback_objs = callbacks.map{|basename| "#{basename}.o"}