Description: Remove linking of unused libraries Author: Nicholas Guriev Last-Update: 2017-03-31 diff --git a/Telegram/gyp/Telegram.gyp b/Telegram/gyp/Telegram.gyp --- a/Telegram/gyp/Telegram.gyp +++ b/Telegram/gyp/Telegram.gyp @@ -78,7 +78,6 @@ 'codegen.gyp:codegen_style', 'codegen.gyp:codegen_numbers', 'codegen.gyp:MetaLang', - 'utils.gyp:Updater', ], 'defines': [ diff --git a/Telegram/gyp/qt.gypi b/Telegram/gyp/qt.gypi --- a/Telegram/gyp/qt.gypi +++ b/Telegram/gyp/qt.gypi @@ -32,13 +32,9 @@ ], }, 'qt_libs': [ - 'qwebp', - 'Qt5PrintSupport', - 'Qt5PlatformSupport', 'Qt5Network', 'Qt5Widgets', 'Qt5Gui', - 'qtharfbuzzng', ], 'qt_version%': '<(qt_version)', 'conditions': [ @@ -89,27 +86,8 @@ 'qt_lib_debug_postfix': '', 'qt_lib_release_postfix': '', 'qt_libs': [ - 'qxcb', - 'Qt5XcbQpa', - 'qconnmanbearer', - 'qgenericbearer', - 'qnmbearer', '<@(qt_libs)', - 'Qt5DBus', 'Qt5Core', - 'qtpcre', - 'Xi', - 'Xext', - 'Xfixes', - 'SM', - 'ICE', - 'fontconfig', - 'expat', - 'freetype', - 'xcb-shm', - 'xcb-xfixes', - 'xcb-render', - 'xcb-static', ], }], ], @@ -139,11 +117,6 @@ # ' /dev/null --libs <@(pkgconfig_libs))',