How to deploy a contract linking it to a library from another contract?

In my dapp, one deployed contract deploys contracts when a function (transaction) is called. The newly deployed contract needs to be linked with a library (already deployed) and I cannot find a way to do that.

How can I deploy a contract and link it to the library?
Is there anything I'm missing?
Sign In or Register to comment.