Sha256: 4d6de1648903fa4d7d96f13d7ff6e95f921fe413edabc7b463334dfe56dc63be

Contents?: true

Size: 621 Bytes

Versions: 11

Compression:

Stored size: 621 Bytes

Contents

require "mkmf"
require "rbconfig"

if RbConfig::CONFIG['host_os'] =~ /mingw/
  $CFLAGS << ' -fno-omit-frame-pointer'
end

libdir = RbConfig::CONFIG["libdir"]
includedir = RbConfig::CONFIG["includedir"]

dir_config("winevt", includedir, libdir)

have_library("wevtapi")
have_func("EvtQuery", "winevt.h")
have_library("advapi32")
have_library("ole32")

$LDFLAGS << " -lwevtapi -ladvapi32 -lole32"
$CFLAGS << " -Wall -std=c99 -fPIC -fms-extensions "
$CXXFLAGS << " -Wall -std=c++11 -fPIC -fms-extensions "
# $CFLAGS << " -g -O0 -ggdb"
# $CXXFLAGS << " -g -O0 -ggdb"

create_makefile("winevt/winevt")

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
winevt_c-0.9.1 ext/winevt/extconf.rb
winevt_c-0.9.0 ext/winevt/extconf.rb
winevt_c-0.8.1 ext/winevt/extconf.rb
winevt_c-0.8.0 ext/winevt/extconf.rb
winevt_c-0.7.4 ext/winevt/extconf.rb
winevt_c-0.7.3 ext/winevt/extconf.rb
winevt_c-0.7.2 ext/winevt/extconf.rb
winevt_c-0.7.1 ext/winevt/extconf.rb
winevt_c-0.7.0 ext/winevt/extconf.rb
winevt_c-0.6.1 ext/winevt/extconf.rb
winevt_c-0.6.0 ext/winevt/extconf.rb