Libertarian presidential nominee Gary JohnsonGary Earl JohnsonBiden broadened Democratic base, cut into Trump coalition: study New Mexico lawmakers send recreational marijuana bills to governor Judge throws out murder convictions, releases men jailed for 24 years MORE says the Black Lives Matter movement has alerted him to the struggles facing minorities.

“My head’s been in the sand on this,” he said Wednesday during a CNN town hall hosted by Anderson Cooper. "That’s what it’s done for me."

ADVERTISEMENT

“We’ve all had our heads in the sand,” the former GOP governor of New Mexico added. "Let’s wake up. This discrimination does exist, and it has existed. For me personally, slap, slap, wake up.”

Former Gov. Bill Weld (R-Mass.), Johnson's running mate, said he sees a federal role in improving the lives of America’s young black males.

“I think we have a national emergency in the number of male black youths who are without jobs,” he said. "Their educational opportunities are not there.

“It’s a national emergency, and when there’s a national emergency, the government has to respond."

Johnson and Weld were explaining their views on Black Lives Matter to a mother wounded in last month’s sniper attack on police officers in Dallas.

Five police officers were killed and nine more were wounded on July 7 when a gunman opened fire during a Black Lives Matter protest there.

Gunman Micah Xavier Johnson, 25, was killed during the incident when police detonated a bomb with a robot.

Johnson has repeatedly said he can win the White House due to public satisfaction with the Democratic and GOP presidential nominees.

Democrat Hillary ClintonHillary Diane Rodham ClintonRepublican Ohio Senate candidate slams JD Vance over previous Trump comments Budowsky: Why GOP donors flock to Manchin and Sinema Countering the ongoing Republican delusion MORE leads Republican Donald TrumpDonald TrumpGOP grapples with chaotic Senate primary in Pennsylvania ​​Trump social media startup receives commitment of billion from unidentified 'diverse group' of investors Iran thinks it has the upper hand in Vienna — here's why it doesn't MORE and by about 5 points nationwide, according to the latest RealClearPolitics average of polls. Johnson registers 8.1 percent support.