(CNN) President Donald Trump blamed former House Speaker Paul Ryan for not getting funding for the wall, saying in an interview with The Daily Caller that Ryan assured him congressional Republicans would get the money when the President agreed not to veto the omnibus spending bill last year.

"Well, I was going to veto the omnibus bill and Paul told me in the strongest of language, 'Please don't do that, we'll get you the wall.' And I said, 'I hope you mean that, because I don't like this bill,' " Trump told The Daily Caller in an interview Wednesday.

"Paul told me in the strongest of terms that, 'Please sign this and if you sign this we will get you that wall.' Which is desperately needed by our country. Humanitarian crisis, trafficking, drugs, you know, everything -- people, criminals, gangs, so, you know, we need the wall."

But Trump said, "And then he went lame duck," referring to Ryan's decision to retire instead of running for re-election in 2018.

"And once he went lame duck, it was just really an exercise in waving to people, and the power was gone so I was very disappointed. I was very disappointed in Paul because the wall was so desperately needed. And I'll get the wall," he added.

Read More