aboutsummaryrefslogtreecommitdiffstats
path: root/ext/-test-/bug-3571
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
commit292d1421a123be8fa7f2d769f70f57a364ae1914 (patch)
tree27115d453f89f9dfb22314edc223646193f6bcb0 /ext/-test-/bug-3571
parente5c8eea039f28ba38fcaa067b43a8dec19d34fc4 (diff)
downloadruby-292d1421a123be8fa7f2d769f70f57a364ae1914.tar.gz
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-3571')
-rw-r--r--ext/-test-/bug-3571/bug.c2
-rw-r--r--ext/-test-/bug-3571/extconf.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/bug-3571/bug.c b/ext/-test-/bug-3571/bug.c
index 87a5df0588..a64f054740 100644
--- a/ext/-test-/bug-3571/bug.c
+++ b/ext/-test-/bug-3571/bug.c
@@ -16,7 +16,7 @@ bug_start(VALUE self, VALUE hash)
}
void
-Init_bug(void)
+Init_bug_3571(void)
{
VALUE mBug = rb_define_module("Bug");
rb_define_module_function(mBug, "start", bug_start, 0);
diff --git a/ext/-test-/bug-3571/extconf.rb b/ext/-test-/bug-3571/extconf.rb
index 10b3bb304b..7e76ebded6 100644
--- a/ext/-test-/bug-3571/extconf.rb
+++ b/ext/-test-/bug-3571/extconf.rb
@@ -1,2 +1,2 @@
# frozen_string_literal: false
-create_makefile("-test-/bug-3571/bug")
+create_makefile("-test-/bug_3571")