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.
This fixes compilation of
libtgvoip
outside of the Telegram Desktop project.libtgvoip
usesGetAdaptersAddresses
function, which requiresiphlpapi
to be linked with. Telegram Desktop specifiesiphlpapi
in the telegramdesktop/tdesktop/Telegram/gyp/settings_win.gypi file, solibtgvoip
compiles fine only with it.