1975 Duster Window seals

im looking for advice. I am replacing the roof rail seals or window seals and am looking for advice on what to use as a glue or sealant.

thanks