I don't see it as much different from "I used script X to do it" or something.
Or you can update the app to remove the dependency on the library.
But honestly, this is what containers or VMs are built for in the first place.
https://en.wikipedia.org/wiki/Salvatore_Sanfilippo
This whole thread is hilarious.