From: Alexis Laferrière Date: Sat, 6 Jun 2015 21:07:19 +0000 (-0400) Subject: src/niti: report a "not yet implemented" when using the pkgconfig annotation X-Git-Tag: v0.7.6~29^2~12 X-Git-Url: http://nitlanguage.org src/niti: report a "not yet implemented" when using the pkgconfig annotation Signed-off-by: Alexis Laferrière --- diff --git a/src/interpreter/dynamic_loading_ffi/on_demand_compiler.nit b/src/interpreter/dynamic_loading_ffi/on_demand_compiler.nit index 265ec7f..415da3f 100644 --- a/src/interpreter/dynamic_loading_ffi/on_demand_compiler.nit +++ b/src/interpreter/dynamic_loading_ffi/on_demand_compiler.nit @@ -84,6 +84,11 @@ redef class AModule var srcs = [for file in ccu.files do new ExternCFile(file, ""): ExternFile] srcs.add_all mmodule.ffi_files + if mmodule.pkgconfigs.not_empty then + fatal(v, "NOT YET IMPLEMENTED annotation `pkgconfig`") + return false + end + var ldflags = mmodule.ldflags[""].join(" ") # TODO pkgconfig