Sha256: a799f0d67559036a4db85144aa6686f09b06cbe460097bd659fcf26c246e24ba

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 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("certstore", includedir, libdir)

have_library("crypt32")
have_func("PFXExportCertStoreEx", "Wincrypt.h")

$LDFLAGS << " -lcrypt32"
$CFLAGS << " -std=c99 -fPIC -fms-extensions "
# $CFLAGS << " -g -O0"

create_makefile("certstore/certstore")

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
certstore_c-0.1.5 ext/certstore/extconf.rb
certstore_c-0.1.4 ext/certstore/extconf.rb
certstore_c-0.1.3 ext/certstore/extconf.rb
certstore_c-0.1.2 ext/certstore/extconf.rb