ruby-lxc/ext/lxc/extconf.rb
2013-12-06 14:59:02 -02:00

8 lines
224 B
Ruby

require 'mkmf'
abort 'missing liblxc' unless find_library('lxc', 'lxc_container_new')
abort 'missing lxc/lxccontainer.h' unless have_header('lxc/lxccontainer.h')
$CFLAGS += " -Wall #{ENV['CFLAGS']}"
create_makefile('lxc')