Libertarian presidential nominee Gary JohnsonGary Earl JohnsonAmash won't rule out Libertarian challenge to Trump Buzz grows Amash will challenge Trump as a Libertarian Potential GOP primary challenger: Trump's 'contempt for the American people' behind possible bid 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 Clinton5 things to know about Boris Johnson Trump says Omar will help him win Minnesota The Hill's Morning Report — Trump applauds two-year budget deal with 0 billion spending hike MORE leads Republican Donald TrumpDonald John Trump5 things to know about Boris Johnson Conservatives erupt in outrage against budget deal Trump says Omar will help him win Minnesota MORE and by about 5 points nationwide, according to the latest RealClearPolitics average of polls. Johnson registers 8.1 percent support.