They can have their cut, but the swell thing to do would be allowing poorer countries to produce it for their domestic use.
The problem you probably mean can be avoided by giving the license to selected companirs only, and gating access to the drug through healthcare providers.