I just found out, that using some ELF-Section tricks, one can make a #shared_library, which also doubles as an #executable
HowTo (more or less):https://stackoverflow.com/questions/1449987/building-a-so-that-is-also-an-executable/68339111#68339111
#shared_library #executable