Vincent Aboubakar's goal in the 89th minute sealed the game in a 2-1 come-from-behind victory.
While love of football unites many in the country, there are concerns that the upcoming tournament could see a replay of political instability that broke out in the summer following a disputed election.
Despite President Ali Bongo's promises to give more cabinet seats to the opposition, they only received one seat in the Gabonese government.
The constitutional court rejected opposition leader Jean Ping's claim that election results were rigged.
Opposition candidate Jean Ping said the President Ali Bongo rigged the presidential elections and called for the international community "to help the people of Gabon."
Jean Ping's declaration has added to the uncertainty in Central African country where violence erupted after recent presidential elections.
Gabon opposition leader says two people were killed and others wounded by security forces as violent protests continue in opposition of the re-election of President Ali Bongo in the country's capital.
Angry opposition supporters set the parliament building on fire in protest to the reelection of resident Ali Bongo in Saturday's presidential vote.
Supporters of President Ali Bongo and his main challenger, Jean Ping, also traded accusations of fraud allegedly committed during Saturday's vote
Kenyan President Uhuru Kenyatta burns thousands of elephant tusks and rhino horns, seeking a world ban on their trade.
Subscribe to our Youtube channel for all latest in-depth, on the ground reporting from around the world.
Copyright © 2020 TRT World.