aboutsummaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorArmin Berres <armin.berres@basyskom.de>2010-04-22 15:49:56 +0200
committerSergiy Dubovik <sergiy.dubovik@nokia.com>2010-05-11 11:10:18 +0300
commita1add8728466e2d13d1526624808e17e2c3c2837 (patch)
tree600bc1d89c6b6d8171bc0cb15a225a253752287f /mkspecs
parent61e25049c1b62caf184ba783901b186e6413df29 (diff)
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~)"
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/common.pri2
1 files changed, 2 insertions, 0 deletions
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