File: extconf.rb

package info (click to toggle)
ruby-posix-spawn 0.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 236 kB
  • ctags: 154
  • sloc: ruby: 976; ansic: 310; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 221 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
require 'mkmf'

# warnings save lives
$CFLAGS << " -Wall "

if RUBY_PLATFORM =~ /(mswin|mingw|cygwin|bccwin)/
  File.open('Makefile','w'){|f| f.puts "default: \ninstall: " }
else
  create_makefile('posix_spawn_ext')
end