From 83bb02cada0b894d9134cc5489999e0f0fe8bd7c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Jul 2019 14:55:35 +0200 Subject: Move in build system module to separate library --- libbuild2/install/init.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libbuild2/install/init.cxx') diff --git a/libbuild2/install/init.cxx b/libbuild2/install/init.cxx index fb3d9ea..060007b 100644 --- a/libbuild2/install/init.cxx +++ b/libbuild2/install/init.cxx @@ -300,10 +300,16 @@ namespace build2 return true; } - module_functions + static const module_functions mod_functions[] = + { + {"install", &boot, &init}, + {nullptr, nullptr, nullptr} + }; + + const module_functions* build2_install_load () { - return module_functions {&boot, &init}; + return mod_functions; } } } -- cgit v1.1