Sha256: 6785b5c2f569be254c37f8c65dfdb39c20d5ad88ab73e9622cbfb2b3fd26bd66

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

require 'mkmf'

def error(message)
  abort "[ERROR] #{message}"
end

$CFLAGS << ' -ggdb -O0 -Wextra'

error 'Missing ruby header' unless have_header 'ruby.h'
error 'Missing OpenAL/alc.h' unless have_header 'OpenAL/alc.h'
error 'Missing OpenAL/al.h' unless have_header 'OpenAL/al.h'

with_ldflags('-framework OpenAL') { RUBY_PLATFORM =~ /darwin/ }

create_makefile('openal_ext')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hallon-openal-0.0.2 ext/hallon/extconf.rb