From c0c1a90179dd0f0e19549f279ee95cae7e577b82 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Fri, 3 Aug 2012 21:34:00 +0200 Subject: RHEL/Fedora: some more updates for MGA2/MDV2011 building --- redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'redhat/dependencies') diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec index 3010ab6d5..bcbf1ed2a 100755 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec +++ b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec @@ -68,6 +68,9 @@ unset QTDIR || : ; . /etc/profile.d/qt.sh cd build %endif +# Note: specifying 'QT_LIBRARY_DIR' allow using QT3 libraries under +# another directory than QT3_PREFIX. (E.g. Mageia 2, Mandriva ...) +# Otherwise, it defaults to ${QTDIR}/lib ! %cmake \ -DQT_PREFIX_DIR=${QTDIR} \ -DQT_VERSION=3 \ @@ -76,6 +79,7 @@ cd build -DLIB_INSTALL_DIR=%{tde_libdir} \ -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DQT_LIBRARY_DIR=${QTLIB} \ .. %__make %{?_smp_mflags} -- cgit v1.2.1