Sha256: 14eb8658df74e35d7a912acfc479cc8bbb2ff8d1357c6563f6c96a30bcc164b4
Contents?: true
Size: 989 Bytes
Versions: 4
Compression:
Stored size: 989 Bytes
Contents
#!/usr/bin/env ruby ENV['ARCHFLAGS']='-arch '+`arch`.strip if PLATFORM.include?("darwin") require 'mkmf' # Add the framework link for Mac OS X. if PLATFORM.include?("darwin") $LDFLAGS = $LDFLAGS + " -framework Firebird" $CFLAGS = $CFLAGS + " -DOS_UNIX" firebird_include="/Library/Frameworks/Firebird.framework/Headers" firebird_lib="/Library/Frameworks/Firebird.framework/Libraries" elsif PLATFORM.include?("win32") $LDFLAGS = $LDFLAGS + " fbclient_ms.lib" $CFLAGS = "-MT #{$CFLAGS}".gsub!(/-MD\s*/, '') + " -DOS_WIN32" dir_config("win32") dir_config("winsdk") dir_config("dotnet") firebird_include="../mswin32fb" firebird_lib="../mswin32fb" elsif PLATFORM.include?("linux") $LDFLAGS = $LDFLAGS + " -lfbclient -lpthread" $CFLAGS = $CFLAGS + " -DOS_UNIX" end # Make sure the firebird stuff is included. dir_config("firebird", firebird_include, firebird_lib) # Generate the Makefile. create_makefile("rubyfb_lib")
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rubyfb-0.5.3-x86-mswin32-60 | ext/extconf.rb |
rubyfb-0.5.3-x86-linux | ext/extconf.rb |
rubyfb-0.5.3 | ext/extconf.rb |
rubyfb-0.5.2-x86-mswin32-60 | ext/extconf.rb |