For now I use this code to link library during truffle migration:
deployer.deploy(SafeMathLibExt);
deployer.link(SafeMathLibExt, [CrowdsaleTokenExt]);
deployer.deploy(CrowdsaleTokenExt);
This code deploys library each time and I don't like it. I want to deploy library only once and then always use it. So I want something like that (pseudo code):
const library = deployer.getLibrary(libraryAddress);
deployer.link(library, [CrowdsaleTokenExt]);
deployer.deploy(CrowdsaleTokenExt);
is it possible to achieve in truffle?