Etymology
Today it means: In an expedient manner. Full definition →
From expedient + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.