Glyphosate is the active ingrediant in RoundUp. As a contact weed killer it will kill whatever you spray it on. When in contact with the soil it will be inactive
RoundUp (glyphosate) becomes INACTIVE when in contact with the soil (Read the label for this information).
You need a pre-emergant weed control herbicide for the soil.