This commit is contained in:
Brian Lopez 2010-03-26 01:04:31 -07:00
parent e42f7cc6e4
commit a7d5c39086
3 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ if have_library('mysqlclient')
$CFLAGS << ' -DRUBY_19_COMPATIBILITY' $CFLAGS << ' -DRUBY_19_COMPATIBILITY'
end end
create_makefile('mysql_ext') create_makefile('mysql_duce_ext')
else else
puts 'libmysql not found, maybe try manually specifying --with-mysql-dir to find it?' puts 'libmysql not found, maybe try manually specifying --with-mysql-dir to find it?'
end end

View File

@ -132,7 +132,7 @@ static VALUE rb_mysql_result_fetch_rows(VALUE self) {
} }
/* Ruby Extension initializer */ /* Ruby Extension initializer */
void Init_mysql_ext() { void Init_mysql_duce_ext() {
mMySQL = rb_define_module("MySQL"); mMySQL = rb_define_module("MySQL");
cMySQLClient = rb_define_class_under(mMySQL, "Client", rb_cObject); cMySQLClient = rb_define_class_under(mMySQL, "Client", rb_cObject);