Merge: Interpreter FFI: support the pkgconfig annotation
authorJean Privat <jean@pryen.org>
Fri, 11 Mar 2016 20:05:52 +0000 (15:05 -0500)
committerJean Privat <jean@pryen.org>
Fri, 11 Mar 2016 20:05:52 +0000 (15:05 -0500)
Pull-Request: #1980
Reviewed-by: Jean Privat <jean@pryen.org>

1  2 
src/interpreter/dynamic_loading_ffi/on_demand_compiler.nit

@@@ -20,15 -20,7 +20,16 @@@ import c_tool
  import nitni
  import ffi
  import naive_interpreter
+ import pkgconfig
 +import debugger_socket # To linearize `ToolContext::init`
 +
 +redef class ToolContext
 +
 +      # --compile-dir
 +      var opt_compile_dir = new OptionString("Directory used to generate temporary files", "--compile-dir")
 +
 +      init do option_context.add_option opt_compile_dir
 +end
  
  redef class AMethPropdef
        # Does this method definition use the FFI and is it supported by the interpreter?