After compiling a contract that uses a library it is necessary to go into the compile contract bytecode and remove a piece that looks something like "_________library__address______" and replace it with the deployed library address.
Tools like Remix automatically add this now for testing.
My question is: Since a library is just a type of contract, could I add a contract address instead of a library address to the bytecode? (and suffer whatever consequences to the functionality of the contract)
I am trying to insert a proxy contract whose fallback function points to the library and I think this is how I would do it.
Thanks for your time.