diff options
Diffstat (limited to 'redhat/dependencies')
-rwxr-xr-x | redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec | 4 |
1 files changed, 4 insertions, 0 deletions
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} |