The present invention relates to a gastro-resistant pharmaceutical composition comprising a solid solution prepared by hot-melt extrusion, whereby the solid solution contains posaconazole, an enteric polymer and a non-enteric polymer. The composition is preferably a granulate material that can be filled into a capsule or compressed into a tablet.