take the obvious way: ask your customer what he prefers you to do!!!
to use your already made libraries and get his program cheeper and faster at the cost of not owning the intellectual property for that parts (you should agree in an adecuate license).