From 66e98727b956d2aef6c549fd302f42a481c18037 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 9 Jul 2018 21:56:54 +0200 Subject: [PATCH] [DEBUG] correct the run of the library --- lutin/target.py | 2 ++ lutin/z_system/lutinSystem_Linux_rpc.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lutin/target.py b/lutin/target.py index 26979bf..48a94b8 100644 --- a/lutin/target.py +++ b/lutin/target.py @@ -727,6 +727,8 @@ class Target: except AttributeError: debug.error("target have no 'un_install_package' instruction") elif action_name[:3] == "run": + if mod.get_type() != "BINARY": + debug.error("Can not run other than 'BINARY' ... pakage='" + mod.get_type() + "' for module='" + module_name + "'") bin_name = None if len(action_name) > 3: if action_name[3] == '%': diff --git a/lutin/z_system/lutinSystem_Linux_rpc.py b/lutin/z_system/lutinSystem_Linux_rpc.py index 99465a5..6e0fe6b 100644 --- a/lutin/z_system/lutinSystem_Linux_rpc.py +++ b/lutin/z_system/lutinSystem_Linux_rpc.py @@ -25,7 +25,7 @@ class System(system.System): 'c' ]) # todo : create a searcher of the presence of the library: - self.add_flag("link-lib", "rpcsvc") + #self.add_flag("link-lib", "rpcsvc") if env.get_isolate_system() == True: self.add_header_file([ "/usr/include/rpc/*"