]> git.pld-linux.org Git - packages/qt4.git/commitdiff
- strip -L/usr/lib and don't strip libraries at build
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 11 Mar 2009 07:52:54 +0000 (07:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qt4.spec -> 1.199

qt4.spec

index 76ba6f10d25b325ca4e050c23dcef10719fa3f5f..4a747553b124308ab132e6f886e49e00c881ccc9 100644 (file)
--- a/qt4.spec
+++ b/qt4.spec
@@ -1349,6 +1349,16 @@ Programas exemplo para o Qt versão.
        s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT       = %{_includedir}/qt4|;
        ' mkspecs/common/linux.conf
 
+# No -L/usr/lib.
+%{__sed} -i -e '
+       s|^QMAKE_LIBDIR_QT.*=.*|QMAKE_LIBDIR_QT       =|;
+       ' mkspecs/common/linux.conf
+
+# undefine QMAKE_STRIP, so we get useful -debuginfo pkgs
+%{__sed} -i -e '
+       s|^QMAKE_STRIP.*=.*|QMAKE_STRIP             =|;
+       ' mkspecs/common/linux.conf
+
 %build
 # pass OPTFLAGS to build qmake itself with optimization
 export OPTFLAGS="%{rpmcflags}"
This page took 0.038624 seconds and 4 git commands to generate.