ext/extconf.rb in rubyfb-0.5.4 vs ext/extconf.rb in rubyfb-0.5.5
- old
+ new
@@ -16,9 +16,14 @@
dir_config("win32")
dir_config("winsdk")
dir_config("dotnet")
firebird_include="../mswin32fb"
firebird_lib="../mswin32fb"
+elsif RUBY_PLATFORM.include?("mingw32")
+ $LIBS = $LIBS + " ../mswin32fb/fbclient_mingw.def -lfbclient_mingw"
+ $DLDFLAGS = "--enable-stdcall-fixup,"+$DLDFLAGS
+ firebird_include="../mswin32fb"
+ firebird_lib="../mswin32fb"
elsif RUBY_PLATFORM.include?("linux")
$LDFLAGS = $LDFLAGS + " -lfbclient -lpthread"
$CFLAGS = $CFLAGS + " -DOS_UNIX"
end