As Hamilton pressed for an equaliser Smith did well to block Mark McLaughlin's close-range volley from Lyle's free-kick and, as half-time approached, Shaun Hutchinson cleared the ball off the goal-line after Lyle had chipped the keeper.
But Wales were coming more and more into the game and confusion in the Poland defence from a Bellamy free-kick allowed Ledley to clip a looping half-volley towards goal.