Sha256: 3791d6920ccc1d17e5401f39c5bfc05c40d2bf215326c2e578448e4d86c1a9ae
Contents?: true
Size: 892 Bytes
Versions: 2
Compression:
Stored size: 892 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 = $CFLAGS + " -DOS_WIN32" dir_config("win32") dir_config("winsdk") dir_config("dotnet") 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubyfb-0.5.2-x86-linux | ext/extconf.rb |
rubyfb-0.5.2 | ext/extconf.rb |