Sha256: 787e6907e7ea759d220949d0fd75ca9b1329e5ac933ff13c20d30c2a33f5ce92

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

require "mkmf"
require 'rbconfig'

def libname
  host = RbConfig::CONFIG['host_os']
  return 'glfw3' if /mswin|msys|mingw|cygwin|bccwin|wince|emc/.match?(host)
  'glfw'
end

abort('Unable to locate GLFW library') unless find_library(libname, 'glfwInit')
create_makefile("glfw/glfw")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glfw-3.3.2.0 ext/glfw/extconf.rb