ext/attribute_builder/extconf.rb in faml-0.3.1 vs ext/attribute_builder/extconf.rb in faml-0.3.2
- old
+ new
@@ -1,4 +1,16 @@
require 'mkmf'
$CFLAGS << ' -Wall -W'
+houdini_dir = File.expand_path('../../vendor/houdini', __dir__)
+$INCFLAGS << " -I#{houdini_dir}"
+
+$srcs = %w[attribute_builder.c]
+%w[
+ buffer.c
+ houdini_html_e.c
+].each do |c|
+ FileUtils.ln_s(File.join(houdini_dir, c), c, force: true)
+ $srcs << c
+end
+
create_makefile('faml/attribute_builder')