Sha256: 9cb6469bda68151d6a21a00bd9dd662c51a6f2f33ffa6e9d5c21f9158295898d

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

require 'mkmf'

unless have_const('linux') || RbConfig::CONFIG['arch'].to_s[/linux/]
	abort('Platform is not linux')
end

unless have_header('sys/statvfs.h') && have_header('sys/ioctl.h') &&
	have_header('fcntl.h') && have_header('linux/fs.h') && have_header('unistd.h')
	abort('Missing header')
end

$CFLAGS << ' -O3 -march=native -mtune=native'

create_makefile 'linux_stat/fs_stat'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
linux_stat-2.7.0 ext/fs_stat/extconf.rb