summaryrefslogtreecommitdiff
path: root/libraries/qt4/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt4/doinst.sh')
-rw-r--r--libraries/qt4/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/qt4/doinst.sh b/libraries/qt4/doinst.sh
new file mode 100644
index 0000000000..4e56cbc8cf
--- /dev/null
+++ b/libraries/qt4/doinst.sh
@@ -0,0 +1,5 @@
+if ! grep -q /usr/lib/qt4/lib etc/ld.so.conf ; then
+ echo "/usr/lib/qt4/lib" >> etc/ld.so.conf
+fi
+
+chroot . /sbin/ldconfig 2> /dev/null