ext/national_grid/extconf.rb in national_grid-0.1.1 vs ext/national_grid/extconf.rb in national_grid-0.1.2
- old
+ new
@@ -1,8 +1,10 @@
require "mkmf"
require_relative "../ostn02c"
dir_config "ostn02c", [OSTN02C.include_path], [OSTN02C.lib_path]
+OSTN02C.make or abort "building libostn02 failed"
+
abort "libostn02 not found" unless have_library "ostn02", "test(false)", "OSTN02.h"
create_makefile "national_grid/national_grid"