diff --git a/extconf.rb b/extconf.rb index 63b9a75..f7de848 100644 --- a/extconf.rb +++ b/extconf.rb @@ -13,7 +13,7 @@ if have_library('mysqlclient') $CFLAGS << ' -DRUBY_19_COMPATIBILITY' end - create_makefile('mysql_ext') + create_makefile('mysql_duce_ext') else puts 'libmysql not found, maybe try manually specifying --with-mysql-dir to find it?' end \ No newline at end of file diff --git a/mysql_ext.c b/mysql_duce_ext.c similarity index 99% rename from mysql_ext.c rename to mysql_duce_ext.c index 9438a77..d726301 100644 --- a/mysql_ext.c +++ b/mysql_duce_ext.c @@ -132,7 +132,7 @@ static VALUE rb_mysql_result_fetch_rows(VALUE self) { } /* Ruby Extension initializer */ -void Init_mysql_ext() { +void Init_mysql_duce_ext() { mMySQL = rb_define_module("MySQL"); cMySQLClient = rb_define_class_under(mMySQL, "Client", rb_cObject); diff --git a/mysql_ext.h b/mysql_duce_ext.h similarity index 100% rename from mysql_ext.h rename to mysql_duce_ext.h