Most linkers have workarounds, I think you can write the paths separated by newlines to a file and make the linker read object file paths from that file. But it would be nice if such workarounds were unnecessary.
I'm not going full "it's your own fault for having those apps installed" — it really isn't — but people need to learn they shouldn't trust apps made by these giant adzillas. (Which to be fair you could also argue for Android as a whole, and Chrome).
If Facebook and Instagram are "dominating the market" as the EU likes to say, maybe it's time to force allowing 3rd party frontend apps?
I do wish life were that simple. Users (including myself) get value out of natively installed apps. Until that changes, this suggestion is impractical.
Also checkout Dawarich: https://dawarich.app/docs/tutorials/import-existing-datahttps://github.com/Freika/dawarich/wiki/How-to-track-your-lo...