From a1add8728466e2d13d1526624808e17e2c3c2837 Mon Sep 17 00:00:00 2001 From: Armin Berres Date: Thu, 22 Apr 2010 15:49:56 +0200 Subject: Changes: drop unneeded library dependencies RevBy: TrustMe Details: Tell the linker to drop unneeded library dependencies. Ideally this speeds up startup time as you need to relocate less symbols. Additionally the libraries depends on less packages. Example libmeegotouchcore0: After: "Depends: libc6 (>= 2.8-0), libcontextsubscriber0 (>= 0.5.10+0m6), libgcc1 (>= 1:4.3.3), libgconf2-6 (>= 2.13.5), libglib2.0-0 (>= 2.12.0), libicu42 (>= 3.8-5), libqt4-dbus (>= 4.6.3~git20100319), libqt4-network (>= 4.6.3~git20100319), libqt4-opengl (>= 4.6.3~git20100319), libqt4-svg (>= 4.6.3~git20100319), libqtcore4 (>= 4.6.3~git20100319), libqtgui4 (>= 4.6.3~git20100319), libstdc++6 (>= 4.3.3), libx11-6, libxdamage1 (>= 1:1.1), libxfixes3 (>= 1:4.0.1), libmeegotouch-bin (= 0.20.2~1), libmeegotouch-l10n-engineering-english (= 0.20.2~1), dbus-x11, meegotouchtheme (>= 0.20.0~)" Before: "Depends: libc6 (>= 2.8-0), libcontextsubscriber0 (>= 0.5.10+0m6), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.71), libgcc1 (>= 1:4.3.3), libgconf2-6 (>= 2.13.5), libgl1, libglib2.0-0 (>= 2.12.0), libgstreamer-plugins-base0.10-0 (>= 0.10.26~25), libgstreamer0.10-0 (>= 0.10.26~25), libicu42 (>= 3.8-5), libqt4-dbus (>= 4.6.3~git20100319), libqt4-network (>= 4.6.3~git20100319), libqt4-opengl (>= 4.6.3~git20100319), libqt4-svg (>= 4.6.3~git20100319), libqtcore4 (>= 4.6.3~git20100319), libqtgui4 (>= 4.6.3~git20100319), libstdc++6 (>= 4.3.3), libx11-6, libxdamage1 (>= 1:1.1), libxfixes3 (>= 1:4.0.1), libxml2 (>= 2.6.27), libmeegotouch-bin (= 0.20.2~1), libmeegotouch-l10n-engineering-english (= 0.20.2~1), dbus-x11, meegotouchtheme (>= 0.20.0~)" --- mkspecs/common.pri | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mkspecs/common.pri') diff --git a/mkspecs/common.pri b/mkspecs/common.pri index f93d6293..e79f113c 100644 --- a/mkspecs/common.pri +++ b/mkspecs/common.pri @@ -76,6 +76,8 @@ include($${M_BUILD_TREE}/mkspecs/features/meegotouch_defines.prf) unix { DEFINES += CACHEDIR=\\\"\"/var/cache/meegotouch/\"\\\" + # drop unneeded dependencies + QMAKE_LFLAGS += "-Wl,--as-needed" } # Compiler configuration for all subprojects in libm -- cgit v1.2.3