[DEBUG] correct the run of the library

This commit is contained in:
Edouard DUPIN 2018-07-09 21:56:54 +02:00
parent 55e5f44c42
commit 66e98727b9
2 changed files with 3 additions and 1 deletions

View File

@ -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] == '%':

View File

@ -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/*"