ruby-lxc/ext/lxc/extconf.rb

8 lines
228 B
Ruby
Raw Permalink Normal View History

2013-12-06 17:43:19 +01:00
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']}"
2014-01-04 03:22:19 +01:00
create_makefile('lxc/lxc')