Build qgc for linux as *.so libraries, without linking to appimage

Hi I create appimage for my local build with modification, script was in repository , but I want to build it, without linking mavlink and gstreamer to it, just add them as *.so files for the directory which I want to use, is here some step by step manual, or maybe someone did it before?