Turkey on Thursday bluntly told Libya's internationally recognised prime minister to stop making "irresponsible" and "hostile" comments after he accused Ankara of meddling in the affairs of his conflict-ravaged country.
"We expect interim government officials to revise their irresponsible attitude toward our country and avoid hostile and groundless statements," the foreign ministry said in a statement.
Without such a move, Turkey would be obliged to take "appropriate measures," the ministry said without elaborating.
Prime Minister Abdullah al-Thinni, in an interview with Asharq Al-Awsat newspaper on Wednesday, accused Turkey of interference in Libya's domestic affairs and warned that the government could expel Turkish companies.
Libya has been in chaos for more than three years after dictator Moamer Kadhafi was toppled and killed in a NATO-backed revolt.
The country is awash with weapons and powerful militias, and has rival governments and parliaments: one recognised by the international community and the other with ties to Islamists.
In January, Turkey urged all its citizens remaining in Libya to leave because of the deteriorating security situation.