I use BtbN script to build shared FFmpeg in Ubuntu.
I removed many .sh files in /scripts.d/ directory with unused libs for my app to build a tiny (compact) FFmpeg.
However it ignores my changes and build FFmpeg as with all default libs included in gpl-shared variant.