core/qt/qmake-linker-flags-as-needed.patch

17 lines
514 B
Diff
Raw Normal View History

2010-05-17 16:01:47 +08:00
author: Fathi Boudra <fabo@debian.org>
workaround as LDFLAGS isn't honored by configure script.
Bug reported to Trolltech.
--- a/configure
+++ b/configure
@@ -583,6 +583,8 @@ mkdir -p "$outpath/config.tests"
rm -f "$outpath/config.tests/.qmake.cache"
cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache"
+QMakeVar add QMAKE_LFLAGS -Wl,--as-needed
+
QMakeVar add styles "cde mac motif plastique cleanlooks windows"
QMakeVar add decorations "default windows styled"
QMakeVar add gfx-drivers "linuxfb"