Sha256: c6891dbad67ce8ce5e1e4bf741863c9e40cf9397515b6503fb7a10c68e28bce0

Contents?: true

Size: 571 Bytes

Versions: 4

Compression:

Stored size: 571 Bytes

Contents

# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

require 'mkmf'
require_relative '../../lib/contrast/agent/version'

installed_path = __dir__

origin =  if !(/darwin/ =~ RUBY_PLATFORM).nil?
            '@loader_path'
          else
            '\$${ORIGIN}'
          end

options = " -Wl,-rpath,#{ origin }/../../shared_libraries"

$LDFLAGS << options if try_link('int main() {return 0;}', options)

$LIBPATH << installed_path

create_makefile 'cs__common/cs__common'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
contrast-agent-3.12.2 ext/cs__common/extconf.rb
contrast-agent-3.12.1 ext/cs__common/extconf.rb
contrast-agent-3.12.0 ext/cs__common/extconf.rb
contrast-agent-3.11.0 ext/cs__common/extconf.rb