grishka / libtgvoip

VoIP library for Telegram clients
The Unlicense
389 stars 158 forks source link

GYP: Add missing 'iphlpapi' library to the list of libraries on Windows #88

Closed cher-nov closed 5 years ago

cher-nov commented 5 years ago

This fixes compilation of libtgvoip outside of the Telegram Desktop project.

libtgvoip uses GetAdaptersAddresses function, which requires iphlpapi to be linked with. Telegram Desktop specifies iphlpapi in the telegramdesktop/tdesktop/Telegram/gyp/settings_win.gypi file, so libtgvoip compiles fine only with it.