ruby-lxc/ext/lxc/extconf.rb
2014-01-03 18:22:19 -08:00

8 lines
228 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/lxc')