summaryrefslogtreecommitdiff
path: root/ext/-test-/bug-5832
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-10 09:43:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-10 09:43:47 +0000
commita5beed9ff467be394afc4957f0c9b12765c81743 (patch)
tree27115d453f89f9dfb22314edc223646193f6bcb0 /ext/-test-/bug-5832
parent09bdb7913c0bf7f2b15d1c7f46b566e35fc5eb82 (diff)
ext/-test-: reduce feature names
* ext/-test-/**/extconf.rb: bring up extension libraries which have same name as the parent directory to reduce feature names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/bug-5832')
-rw-r--r--ext/-test-/bug-5832/bug.c2
-rw-r--r--ext/-test-/bug-5832/extconf.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/bug-5832/bug.c b/ext/-test-/bug-5832/bug.c
index 67be584..a2c3965 100644
--- a/ext/-test-/bug-5832/bug.c
+++ b/ext/-test-/bug-5832/bug.c
@@ -7,7 +7,7 @@ bug_funcall_callback(VALUE self, VALUE obj)
}
void
-Init_bug(void)
+Init_bug_5832(void)
{
VALUE mBug = rb_define_module("Bug");
rb_define_module_function(mBug, "funcall_callback", bug_funcall_callback, 1);
diff --git a/ext/-test-/bug-5832/extconf.rb b/ext/-test-/bug-5832/extconf.rb
index 948e779..b8452b4 100644
--- a/ext/-test-/bug-5832/extconf.rb
+++ b/ext/-test-/bug-5832/extconf.rb
@@ -1,2 +1,2 @@
# frozen_string_literal: false
-create_makefile("-test-/bug-5832/bug")
+create_makefile("-test-/bug_5832")