diff --git a/ext/iodine/extconf.rb b/ext/iodine/extconf.rb index 31d9670..2294fd1 100644 --- a/ext/iodine/extconf.rb +++ b/ext/iodine/extconf.rb @@ -18,4 +18,4 @@ append_cflags("-Wno-undef"); append_cflags("-Wno-missing-noreturn"); -create_makefile "iodine/iodine_ext" +create_makefile "iodine/iodine" diff --git a/ext/iodine/iodine.c b/ext/iodine/iodine.c index 61ce031..510c366 100644 --- a/ext/iodine/iodine.c +++ b/ext/iodine/iodine.c @@ -60,7 +60,7 @@ static void Init_Iodine(void) { Initialize Extension ***************************************************************************** */ -void Init_iodine_ext(void) { +void Init_iodine(void) { fio_state_callback_force(FIO_CALL_ON_INITIALIZE); IodineUTF8Encoding = rb_enc_find("UTF-8"); diff --git a/lib/iodine.rb b/lib/iodine.rb index aabef4d..cbb0f4c 100644 --- a/lib/iodine.rb +++ b/lib/iodine.rb @@ -6,7 +6,7 @@ require_relative "iodine/version" -require "iodine/iodine_ext" +require "iodine/iodine" # Support common ENV options for setting concurrency.