require 'fiddle'
require 'rbconfig'

library = Fiddle.dlopen("librusty_blank.#{RbConfig::CONFIG['DLEXT']}")
func = Fiddle::Function.new(library['init_rusty_blank'],
                            [], Fiddle::TYPE_VOIDP)
func.call

require 'fiddle'
require 'rbconfig'

basename = "librusty_blank.#{RbConfig::CONFIG['DLEXT']}"
library = Fiddle.dlopen(File.join(File.dirname(__FILE__), basename))
func = Fiddle::Function.new(library['init_rusty_blank'],
                            [], Fiddle::TYPE_VOIDP)
func.call

Fix loading of the compiled library
Fix loading of the compiled library
