[Lunar-commits] <moonbase> qt4: Adjusting the BUILD to correct some visabiliy issues.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Thu Apr 21 19:50:08 CEST 2011
commit 4c0afd3ef8a60417bc3196d2a64b0c00c1082b59
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Thu Apr 21 13:50:08 2011 -0400
qt4: Adjusting the BUILD to correct some visabiliy issues.
---
qt4-apps/qt4/BUILD | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/qt4-apps/qt4/BUILD b/qt4-apps/qt4/BUILD
index c374b52..7b712e2 100644
--- a/qt4-apps/qt4/BUILD
+++ b/qt4-apps/qt4/BUILD
@@ -1,5 +1,10 @@
(
+# To silence the phonon module from barking about this;
+# "Qt compiled without support for -fvisibility=hidden. This will break
+# plugins and linking of some applications. Please fix your Qt installation."
+ CFLAGS+=" -fvisibility=hidden $CFLAGS" &&
+
if [ -d /opt/lunar/qt ] ; then
ld_remove /opt/lunar/qt/lib
fi &&
@@ -54,6 +59,14 @@
find /usr/lib/qt4 -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; &&
+ if [ "MAKE_ASSIST" == "y" ] ; then
+ cd tools/assistant &&
+ qmake -o Makefile assistant.pro &&
+ make &&
+ install -m 755
+ cd $SOURCE_DIRECTORY
+ fi &&
+
if [ "$MAKE_QDOC3" == "y" ]; then
cd tools/qdoc3 &&
qmake -o Makefile qdoc3.pro &&
More information about the Lunar-commits
mailing list