diff options
Diffstat (limited to 'redhat/dependencies/libart-lgpl/libart-lgpl.spec')
-rw-r--r-- | redhat/dependencies/libart-lgpl/libart-lgpl.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl.spec b/redhat/dependencies/libart-lgpl/libart-lgpl.spec index e457845d4..63c6772d4 100644 --- a/redhat/dependencies/libart-lgpl/libart-lgpl.spec +++ b/redhat/dependencies/libart-lgpl/libart-lgpl.spec @@ -184,7 +184,7 @@ especially suitable for embedded applications. unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" -if ! rpm -E %%cmake|grep -q "cd build"; then +if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then %__mkdir_p build cd build fi @@ -199,6 +199,7 @@ fi -DWITH_GCC_VISIBILITY=OFF \ \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DLIB_INSTALL_DIR="%{_libdir}" \ -DSHARE_INSTALL_PREFIX="%{_datadir}" \ \ -DWITH_ALL_OPTIONS=ON \ @@ -222,5 +223,4 @@ fi %__rm -rf $RPM_BUILD_ROOT - %changelog |