Detroit — Jeff Samardzija, who had been enduring brutal times for the White Sox in the 2015 season’s second half, got all the help he needed Monday at Comerica Park.

He got the Tigers. Specifically, a light lineup necessitated by the second game of a day-night doubleheader, which only partly explained why the White Sox beat the Tigers, 2-0, as Samardzija tossed a brilliant one-hitter.

Victor Martinez got the Tigers’ only hit — a flair single to left-center field, leading off the fifth.

Samardzija, who had given up at least four earned runs in nine of his last 10 starts — including 10 against the Athletics on Sept. 15 — struck out six Tigers and walked none.

Tigers starter Kyle Ryan was more than serviceable Monday in a spot-start, allowing six hits and both White Sox runs in seven innings. He was tagged for a home run by Carlos Sanchez, as well as Adam Eaton’s RBI single that scored Sanchez after Sanchez originally had been called out at the plate. Replays overturned what had initially been a putout on a throw from Steven Moya in right field to catcher Bryan Holaday.

Randy Wolf is scheduled to start Monday night’s game against the White Sox. First pitch is at 7:08 p.m.

Monday’s doubleheader was necessitated by a June rainout at Comerica Park.