The 61-year-old actress made the revelation while on U.K. chat show Loose Women on Friday (10Feb17), and she explained Patrick would not commit to the 1990 romantic drama unless casting directors had hired Whoopi for the role of spiritual medium Oda Mae Brown.

"(Patrick) got hired to do Ghost and asked them, 'Why hasn't Whoopi Goldberg got a part? Have you talked to her?' And they were like, 'No, no. We didn't go to her.' He said, 'No, no I'm not committing to this until I talk to her to see if she wants to do this movie," she recalled.

"So day comes and I go and he (Patrick) says, 'Why don't you want to do this movie?' And I said, 'Wait, aren't you Patrick Swayze? And he says 'Yes' and I said, 'What makes you think I don't want to do the movie? I'd love to do the movie, they said they didn't want me,'" Whoopi added.

"And he (Patrick) said, 'Do you want to do the movie?' I said, 'If we can have some fun, yeah!' So he said, 'If you're not going to hire her, I'm not going to be in this film'. And then I got the Oscar for it!" she laughed.

Patrick played the role of Sam Wheat, a successful banker who renovates and moves into an apartment in New York City with his girlfriend Molly Jensen, played by Demi Moore.

Sam is killed by a mugger, and his ghost enlists the help of Whoopi's Oda Mae Brown to help him protect Molly from his greedy former colleague Carl, who is illegally laundering millions from the bank.

Whoopi went on to win the Best Supporting Actress at the Oscars, a BAFTA for Best Supporting Actress and a Golden Globe Award for Best Supporting Actress in a Motion Picture, while the movie won an Oscar for Best Original Screenplay.

Patrick, who appeared in hit movies including Dirty Dancing and Point Break, died at the age of 57 from pancreatic cancer in September, 2009, just 20 months after he was diagnosed with the disease.