Sha256: 73eb638b6cb46d148f9d822c4db0f56815c7da792d2a837309d254b3acbc1999
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
require 'mkmf' ext_name = 'native' dir_config('alphatau/native') system("cd #{$srcdir}/sdl && ./configure --prefix=`pwd` --enable-shared=no && make install") required_funcs = %w[] $CPPFLAGS << ' ' + `#{$srcdir}/sdl/bin/sdl2-config --cflags`.chomp $LDFLAGS << ' ' + `#{$srcdir}/sdl/bin/sdl2-config --static-libs`.chomp required_funcs.each do |funcname| abort "missing #{funcname}()" unless have_func funcname end create_makefile ext_name
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alphatau-0.1.0 | ext/alphatau/native/extconf.rb |